Fix textcomplete of extra tags for blockquote not match space character in the between
This commit is contained in:
@@ -3632,7 +3632,7 @@ $(editor.getInputField())
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{ //extra tags for blockquote
|
{ //extra tags for blockquote
|
||||||
match: /(?:^|\n|\s)(\>.*|)((\^|)\[(\^|)\](\[\]|\(\)|\:|))(\w*)$/,
|
match: /(?:^|\n|\s)(\>.*|\s|)((\^|)\[(\^|)\](\[\]|\(\)|\:|))(\w*)$/,
|
||||||
search: function (term, callback) {
|
search: function (term, callback) {
|
||||||
var line = editor.getLine(editor.getCursor().line);
|
var line = editor.getLine(editor.getCursor().line);
|
||||||
quote = line.match(this.match)[1].trim();
|
quote = line.match(this.match)[1].trim();
|
||||||
|
|||||||
Reference in New Issue
Block a user