From 48c806954eecc242227ad9868eabe03d1d415621 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Sun, 5 Sep 2021 16:03:00 +0200 Subject: [PATCH] [fix] make /preferences more CSP compliant - simple & oscar theme in simple & oscar theme replace bar-graph's *styles* by CSP compliant implementation in:: searx/static/themes/__common__/less/stats.less Fixed files:: ./oscar/preferences.html:29: {{- "" -}} ./oscar/preferences.html:30: {{- "" -}} ./oscar/preferences.html:31: {{- "" -}} ./simple/preferences.html:43: {{- "" -}} ./simple/preferences.html:44: {{- "" -}} ./simple/preferences.html:45: {{- "" -}} Reported-by: https://github.com/searxng/searxng/issues/57 Signed-off-by: Markus Heiser --- searx/templates/oscar/preferences.html | 6 +++--- searx/templates/simple/preferences.html | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/searx/templates/oscar/preferences.html b/searx/templates/oscar/preferences.html index c47675562..f46d1e620 100644 --- a/searx/templates/oscar/preferences.html +++ b/searx/templates/oscar/preferences.html @@ -27,9 +27,9 @@ {{- stats[engine_name].time -}}{{- "" -}} {{- "" -}} diff --git a/searx/templates/simple/preferences.html b/searx/templates/simple/preferences.html index e3b1545b9..ede958450 100644 --- a/searx/templates/simple/preferences.html +++ b/searx/templates/simple/preferences.html @@ -41,9 +41,9 @@ {{- stats[engine_name].time -}}{{- "" -}} {{- "" -}}