From: Paul Hänsch Date: Tue, 29 Aug 2023 22:21:47 +0000 (+0200) Subject: Squashed 'cgilite/' changes from fc47d5d7..1f4a5e20 X-Git-Url: http://git.plutz.net/?a=commitdiff_plain;h=a7e74b2735ecaae6ef235cb0c4e54bc187d3fa16;hp=2bd7c7ece5376f659a1888615b12adf3d6a96744;p=shellwiki Squashed 'cgilite/' changes from fc47d5d7..1f4a5e20 1f4a5e20 fix: task list unsure git-subtree-dir: cgilite git-subtree-split: 1f4a5e20dd63d07a8993f6d502ba8092313f31e7 --- diff --git a/markdown.awk b/markdown.awk index 949ea93..91a7956 100755 --- a/markdown.awk +++ b/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$" ))