X-Git-Url: https://git.plutz.net/?p=cgilite;a=blobdiff_plain;f=markdown.awk;fp=markdown.awk;h=91a7956c96cb67e5667b9291b930843d3e0a1376;hp=949ea9390f8450e8982b10945854f29076bde118;hb=1f4a5e20dd63d07a8993f6d502ba8092313f31e7;hpb=fc47d5d7118fe570dad487482789e7447004f4f9 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$" ))