diff options
author | dvs1 | 2025-03-13 16:49:32 +1000 |
---|---|---|
committer | dvs1 | 2025-03-13 16:49:32 +1000 |
commit | fd3574e779ef717d21ccb411596651317037891f (patch) | |
tree | 4d1af4c93d10e86fd40242ed116dcd260ba7fb46 | |
parent | Add some ideas to the TODO. (diff) | |
download | notYetAnotherWiki-fd3574e779ef717d21ccb411596651317037891f.zip notYetAnotherWiki-fd3574e779ef717d21ccb411596651317037891f.tar.gz notYetAnotherWiki-fd3574e779ef717d21ccb411596651317037891f.tar.bz2 notYetAnotherWiki-fd3574e779ef717d21ccb411596651317037891f.tar.xz |
Work around lunamark's random list bug by giving it less random list triggers.
-rwxr-xr-x | notYetAnotherWiki.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 " | |||
341 | end | 341 | end |
342 | end | 342 | end |
343 | 343 | ||
344 | ok, rslt, status = os.execute('pandoc -f html -t commonmark_x --self-contained ' .. l .. '_NEW' .. ' >' .. string.sub(l, 1, -4) .. 'md') | 344 | ok, rslt, status = os.execute('pandoc --wrap=preserve -f html -t commonmark_x --self-contained ' .. l .. '_NEW' .. ' >' .. string.sub(l, 1, -4) .. 'md') |
345 | end | 345 | end |
346 | 346 | ||
347 | if '.' ~= Directory then | 347 | if '.' ~= Directory then |