Fixed list inside blockquote in ACE syntax highlighter

This commit is contained in:
benweet 2013-11-20 00:51:09 +00:00
parent 16169d5382
commit 7880a5c87d

View File

@ -63,7 +63,7 @@ var MarkdownHighlightRules = function() {
next : "githubblock" next : "githubblock"
}, { // block quote }, { // block quote
token : "blockquote", token : "blockquote",
regex : "^\\s*>[ ]", regex : "^\\s*>\\s*(?:[*+-]|\\d+\\.)?\\s+",
next : "blockquote" next : "blockquote"
}, { // HR * - _ }, { // HR * - _
token : "constant", token : "constant",
@ -166,6 +166,10 @@ var MarkdownHighlightRules = function() {
token : "empty_line", token : "empty_line",
regex : "^\\s*$", regex : "^\\s*$",
next : "start" next : "start"
}, { // block quote
token : "blockquote",
regex : "^\\s*>\\s*(?:[*+-]|\\d+\\.)?\\s+",
next : "blockquote"
}, { }, {
include : "basic", noEscape: true include : "basic", noEscape: true
}, { }, {