Fix textcomplete of extra tags for blockquote not match space character in the between
This commit is contained in:
parent
e94810ff94
commit
fddc2ab38b
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue