add escape around _renderItem in SidebarSearch.js

This commit is contained in:
REJack
2020-11-30 09:31:53 +01:00
parent b0f9c48ea5
commit da94ddd415

View File

@@ -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