summaryrefslogtreecommitdiffstats
path: root/public/javascripts/application.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/javascripts/application.js')
-rw-r--r--public/javascripts/application.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/public/javascripts/application.js b/public/javascripts/application.js
index 0467d97db..431d67ae3 100644
--- a/public/javascripts/application.js
+++ b/public/javascripts/application.js
@@ -1187,6 +1187,9 @@ function inlineAutoComplete(element) {
selectTemplate: function (wikiPage) {
return '[[' + wikiPage.original.value + ']]';
},
+ menuItemTemplate: function (wikiPage) {
+ return sanitizeHTML(wikiPage.original.label);
+ },
noMatchTemplate: function () {
return '<span style:"visibility: hidden;"></span>';
}