Revert "fix html comments. fixes #381 and #389."

This reverts commit 288a6478e229ceead86a5587782bc5d16885d0e5.
This commit is contained in:
Christopher Jeffrey 2014-04-26 07:35:47 -05:00
parent 288a6478e2
commit 3ad276bcc5

View File

@ -20,7 +20,7 @@ var block = {
lheading: /^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,
blockquote: /^( *>[^\n]+(\n(?!def)[^\n]+)*\n*)+/,
list: /^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,
html: /^ *(?:comment *(?:\n|\s*$)|closed *(?:\n|\s*$)|closing *(?:\n{2,}|\s*$))/,
html: /^ *(?:comment|closed|closing) *(?:\n{2,}|\s*$)/,
def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +["(]([^\n]+)[")])? *(?:\n+|$)/,
table: noop,
paragraph: /^((?:[^\n]+\n?(?!hr|heading|lheading|blockquote|tag|def))+)\n*/,