Skip to content

Commit 717df03

Browse files
committed
Bad markdown and yaml parsing
1 parent ef331b7 commit 717df03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/marked.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ var block = {
1818
hr: /^( *[-*_]){3,} *(?:\n+|$)/,
1919
heading: /^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,
2020
nptable: noop,
21-
lheading: /^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,
21+
lheading: /^([^\n]+)\n *(=|-){4,} *(?:\n+|$)/,
2222
blockquote: /^( *>[^\n]+(\n(?!def)[^\n]+)*\n*)+/,
2323
list: /^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,
2424
html: /^ *(?:comment *(?:\n|\s*$)|closed *(?:\n{2,}|\s*$)|closing *(?:\n{2,}|\s*$))/,

0 commit comments

Comments
 (0)