From fddc2ab38bd961363983c5790dc3487de0ef5dc4 Mon Sep 17 00:00:00 2001 From: Wu Cheng-Han Date: Mon, 15 Aug 2016 11:02:11 +0800 Subject: [PATCH] Fix textcomplete of extra tags for blockquote not match space character in the between --- public/js/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/index.js b/public/js/index.js index 87c69770d..a3581cfde 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();