leading space for html blocks
This commit is contained in:
parent
45798f2b7f
commit
1118034ad7
@ -17,7 +17,7 @@ var block = {
|
||||
lheading: /^([^\n]+)\n *(=|-){3,}/,
|
||||
blockquote: /^ *>[^\n]*(?:\n *>[^\n]*)*/,
|
||||
list: /^( *)([*+-]|\d+\.) [^\0]+?(?:\n{2,}(?! )|\s*$)(?!\1\2|\1\d+\.)/,
|
||||
html: /^(?:<!--[^\0]*?-->|<(\w+)[^\0]+?<\/\1>|<[^<>\n]+>) *(?:\n{2,}|\s*$)/,
|
||||
html: /^ *(?:<!--[^\0]*?-->|<(\w+)[^\0]+?<\/\1>|<[^<>\n]+>) *(?:\n{2,}|\s*$)/,
|
||||
text: /^[^\n]+/
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user