From: Paul Hänsch Date: Tue, 29 Aug 2023 22:21:47 +0000 (+0200) Subject: Merge commit 'a7e74b2735ecaae6ef235cb0c4e54bc187d3fa16' X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=225fc80e7ea2ba2da28ff7c67859b588338f5494;hp=b28e964ff968431ed498c5a66a231db4d94799f3;p=shellwiki Merge commit 'a7e74b2735ecaae6ef235cb0c4e54bc187d3fa16' --- diff --git a/cgilite/markdown.awk b/cgilite/markdown.awk index 949ea93..91a7956 100755 --- a/cgilite/markdown.awk +++ b/cgilite/markdown.awk @@ -761,7 +761,7 @@ function _list (block, mark, LOCAL, len, st, text, indent, task) { match( text, /^\[\/\]/ ) ? "
  • " : \ match( text, /^\[\?\]/ ) ? "
  • " : \ match( text, /^\[[xX]\]/) ? "
  • " : "
  • "; - sub(/^\[[- /xX]\]/, "", text); + sub(/^\[[-? /xX]\]/, "", text); text = _block( text ); if (match( text, "^

    (]|\n$" ))