From a597ff03f2efcb2aa0e773f45cba7ca06bd025fd Mon Sep 17 00:00:00 2001 From: dvs1 Date: Thu, 20 Feb 2025 17:37:59 +1000 Subject: Work around yet another colour corner case. --- notYetAnotherWiki.lua | 1 + 1 file changed, 1 insertion(+) 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) ( {[.?!]{" "}} -> '%1 ' / -- ' ' gets turned into hex 0xA0 by parse(). So feed it another metadata token that gets translated to  . Seems we now skip this issue. {[\\]{['"|$]}} -> '%2' / -- Do the same for fixing the \' \" \| etc mess pandoc left. + {"[ ]{.foswikiGrayFG}" } -> '' / -- Coz Foswiki sucks. No idea why the next thing didn't catch it. {"[" {([^]])+} "]{.foswiki" {([^FG}])+} "FG}" } -> "%2" / {"::: {."[A-Za-z_. ]+"}"} -> '' / {":::"} -> '' / -- cgit v1.1