add escape around _renderItem in SidebarSearch.js

pull/3181/head
REJack 4 years ago
parent b0f9c48ea5
commit da94ddd415

@ -195,7 +195,7 @@ class SidebarSearch {
}
_addNotFound() {
$(SELECTOR_SEARCH_RESULTS_GROUP).append(this._renderItem(this.options.notFoundText, '#', []))
$(SELECTOR_SEARCH_RESULTS_GROUP).append(escape(this._renderItem(this.options.notFoundText, '#', [])))
}
// Static

Loading…
Cancel
Save