From 1c2d41e3c4e3d551fa19346745d51b5e0c39252b Mon Sep 17 00:00:00 2001
From: dvs1
Date: Sat, 15 Mar 2025 15:21:01 +1000
Subject: Work around a bug in Lunamark?
---
notYetAnotherWiki.lua | 5 +++++
1 file changed, 5 insertions(+)
(limited to 'notYetAnotherWiki.lua')
diff --git a/notYetAnotherWiki.lua b/notYetAnotherWiki.lua
index 974fde6..35c68a8 100755
--- a/notYetAnotherWiki.lua
+++ b/notYetAnotherWiki.lua
@@ -712,6 +712,8 @@ end
function Writer.header(s, level)
local text = Lunamark.util.rope_to_string(s)
+-- FIXME - Work around a bug in Lunamark?
+ text = RE.gsub(text, "{[\\]}", "")
return '
' .. string.rep(' ', l) .. '' .. h .. '
' end -- cgit v1.1