mirror of https://github.com/status-im/codimd.git
Fix textcomplete of extra tags for blockquote not match space character in the between
This commit is contained in:
parent
e94810ff94
commit
fddc2ab38b
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue