Skip to content

Commit

Permalink
Merge branch 'fix_heading'
Browse files Browse the repository at this point in the history
  • Loading branch information
chjj committed Sep 14, 2011
2 parents 54975d7 + d6ac951 commit 2c21b61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/marked.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ var block = {
newline: /^\n+/,
block: /^ {4,}[^\n]*(?:\n {4,}[^\n]*|\n)*(?=\n| *$)/,
hr: /^( *[\-*_]){3,} *\n/,
heading: /^ *(#{1,6}) *([^\n#]*) *#*/,
heading: /^(#{1,6}) *([^\0]+?) *#*\n+/,
lheading: /^([^\n]+)\n *(=|-){3,}/,
blockquote: /^ *>[^\n]*(?:\n *>[^\n]*)*/,
list: /^( *)([*+-]|\d+\.) [^\0]+?(?:\n{2,}(?! )|\s*$)(?!\1\2|\1\d+\.)/,
Expand Down

0 comments on commit 2c21b61

Please sign in to comment.