diff options
author | Wu Cheng-Han | 2016-08-15 11:02:11 +0800 |
---|---|---|
committer | Wu Cheng-Han | 2016-08-15 11:02:11 +0800 |
commit | fddc2ab38bd961363983c5790dc3487de0ef5dc4 (patch) | |
tree | 37588f4c56ddda778a0644e6b6d2a58dba4707e0 | |
parent | e94810ff941f3e55c80795d431a0a8d52bb66a0d (diff) |
Fix textcomplete of extra tags for blockquote not match space character in the between
-rw-r--r-- | public/js/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/index.js b/public/js/index.js index 87c69770..a3581cfd 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -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(); |