From da94ddd415fb860ffca1d83ba5c1c12e5bcd438a Mon Sep 17 00:00:00 2001 From: REJack Date: Mon, 30 Nov 2020 09:31:53 +0100 Subject: [PATCH] add escape around _renderItem in SidebarSearch.js --- build/js/SidebarSearch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/js/SidebarSearch.js b/build/js/SidebarSearch.js index 8d4c64bf8..c9da8bdfe 100644 --- a/build/js/SidebarSearch.js +++ b/build/js/SidebarSearch.js @@ -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