diff options
author | dvs1 | 2025-02-20 17:37:59 +1000 |
---|---|---|
committer | dvs1 | 2025-02-20 17:37:59 +1000 |
commit | a597ff03f2efcb2aa0e773f45cba7ca06bd025fd (patch) | |
tree | f0dd535a5a5292427871cb374886fd368e4c0e71 | |
parent | Switch from HTML tables to CSS grid for layout. (diff) | |
download | notYetAnotherWiki-a597ff03f2efcb2aa0e773f45cba7ca06bd025fd.zip notYetAnotherWiki-a597ff03f2efcb2aa0e773f45cba7ca06bd025fd.tar.gz notYetAnotherWiki-a597ff03f2efcb2aa0e773f45cba7ca06bd025fd.tar.bz2 notYetAnotherWiki-a597ff03f2efcb2aa0e773f45cba7ca06bd025fd.tar.xz |
Work around yet another colour corner case.
-rwxr-xr-x | notYetAnotherWiki.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/notYetAnotherWiki.lua b/notYetAnotherWiki.lua index 398f22a..a19c982 100755 --- a/notYetAnotherWiki.lua +++ b/notYetAnotherWiki.lua | |||
@@ -114,6 +114,7 @@ local toFile = function(name, key, value) | |||
114 | ( | 114 | ( |
115 | {[.?!]{" "}} -> '%1 ' / -- ' ' gets turned into hex 0xA0 by parse(). So feed it another metadata token that gets translated to . Seems we now skip this issue. | 115 | {[.?!]{" "}} -> '%1 ' / -- ' ' gets turned into hex 0xA0 by parse(). So feed it another metadata token that gets translated to . Seems we now skip this issue. |
116 | {[\\]{['"|$]}} -> '%2' / -- Do the same for fixing the \' \" \| etc mess pandoc left. | 116 | {[\\]{['"|$]}} -> '%2' / -- Do the same for fixing the \' \" \| etc mess pandoc left. |
117 | {"[ ]{.foswikiGrayFG}" } -> '' / -- Coz Foswiki sucks. No idea why the next thing didn't catch it. | ||
117 | {"[" {([^]])+} "]{.foswiki" {([^FG}])+} "FG}" } -> "<span style='color: %3;'>%2</span>" / | 118 | {"[" {([^]])+} "]{.foswiki" {([^FG}])+} "FG}" } -> "<span style='color: %3;'>%2</span>" / |
118 | {"::: {."[A-Za-z_. ]+"}"} -> '' / | 119 | {"::: {."[A-Za-z_. ]+"}"} -> '' / |
119 | {":::"} -> '' / | 120 | {":::"} -> '' / |