Fix textcomplete of extra tags for blockquote not match space character in the between

This commit is contained in:
Wu Cheng-Han 2016-08-15 11:02:11 +08:00
parent e94810ff94
commit fddc2ab38b
1 changed files with 1 additions and 1 deletions

View File

@ -3632,7 +3632,7 @@ $(editor.getInputField())
}
},
{ //extra tags for blockquote
match: /(?:^|\n|\s)(\>.*|)((\^|)\[(\^|)\](\[\]|\(\)|\:|))(\w*)$/,
match: /(?:^|\n|\s)(\>.*|\s|)((\^|)\[(\^|)\](\[\]|\(\)|\:|))(\w*)$/,
search: function (term, callback) {
var line = editor.getLine(editor.getCursor().line);
quote = line.match(this.match)[1].trim();