diff --git a/core/misc/autocomplete.js b/core/misc/autocomplete.js index 3817c7d..f0fae1b 100644 --- a/core/misc/autocomplete.js +++ b/core/misc/autocomplete.js @@ -77,7 +77,7 @@ // If there are no enclosing character splitting is easy. if (value.indexOf(enclosing) === -1) { - result = value.split(enclosing); + result = value.split(token); } // Handle enclosed token. else {