We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 15ae1c9 + 9d5ecbe commit 7a9e35eCopy full SHA for 7a9e35e
lib/marked.js
@@ -33,7 +33,7 @@ var block = {
33
def: /^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,
34
table: noop,
35
lheading: /^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,
36
- paragraph: /^([^\n]+(?:\n?(?!hr|heading|lheading| {0,3}>|<\/?(?:tag)(?: +|\\n|\/?>)|<(?:script|pre|style|!--))[^\n]+)+)/,
+ paragraph: /^([^\n]+(?:\n(?!hr|heading|lheading| {0,3}>|<\/?(?:tag)(?: +|\n|\/?>)|<(?:script|pre|style|!--))[^\n]+)*)/,
37
text: /^[^\n]+/
38
};
39
0 commit comments