From fd3574e779ef717d21ccb411596651317037891f Mon Sep 17 00:00:00 2001 From: dvs1 Date: Thu, 13 Mar 2025 16:49:32 +1000 Subject: Work around lunamark's random list bug by giving it less random list triggers. --- notYetAnotherWiki.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notYetAnotherWiki.lua b/notYetAnotherWiki.lua index a573aa5..8be3850 100755 --- a/notYetAnotherWiki.lua +++ b/notYetAnotherWiki.lua @@ -341,7 +341,7 @@ for l in io.popen('find -L ' .. Directory .. ' -name "*.HTM" -type f,l -printf " end end - ok, rslt, status = os.execute('pandoc -f html -t commonmark_x --self-contained ' .. l .. '_NEW' .. ' >' .. string.sub(l, 1, -4) .. 'md') + ok, rslt, status = os.execute('pandoc --wrap=preserve -f html -t commonmark_x --self-contained ' .. l .. '_NEW' .. ' >' .. string.sub(l, 1, -4) .. 'md') end if '.' ~= Directory then -- cgit v1.1