X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=markdown.awk;h=91a7956c96cb67e5667b9291b930843d3e0a1376;hb=a7e74b2735ecaae6ef235cb0c4e54bc187d3fa16;hp=949ea9390f8450e8982b10945854f29076bde118;hpb=2bd7c7ece5376f659a1888615b12adf3d6a96744;p=shellwiki 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$" ))