mirror of https://github.com/ColorlibHQ/AdminLTE
add escape around _renderItem in SidebarSearch.js
parent
b0f9c48ea5
commit
da94ddd415
|
@ -195,7 +195,7 @@ class SidebarSearch {
|
||||||
}
|
}
|
||||||
|
|
||||||
_addNotFound() {
|
_addNotFound() {
|
||||||
$(SELECTOR_SEARCH_RESULTS_GROUP).append(this._renderItem(this.options.notFoundText, '#', []))
|
$(SELECTOR_SEARCH_RESULTS_GROUP).append(escape(this._renderItem(this.options.notFoundText, '#', [])))
|
||||||
}
|
}
|
||||||
|
|
||||||
// Static
|
// Static
|
||||||
|
|
Loading…
Reference in New Issue