allow lazy blockquotes

This commit is contained in:
Christopher Jeffrey 2012-01-09 07:17:12 -06:00
parent 65559c7ce9
commit ccd0d4bc10

View File

@ -16,7 +16,7 @@ var block = {
hr: /^( *[\-*_]){3,} *\n/,
heading: /^ *(#{1,6}) *([^\0]+?) *#* *\n+/,
lheading: /^([^\n]+)\n *(=|-){3,}/,
blockquote: /^ *>[^\n]*(?:\n *>[^\n]*)*/,
blockquote: /^ *>[^\0]+?(?=\n\n| *$)|^ *>[^\n]*(?:\n *>[^\n]*)*/,
list: /^( *)([*+-]|\d+\.) [^\0]+?(?:\n{2,}(?! )|\s*$)(?!\1\2|\1\d+\.)/,
html: /^ *(?:comment|closed|closing) *(?:\n{2,}|\s*$)/,
paragraph: /^([^\n]+\n?(?!body))+\n*/,