summaryrefslogtreecommitdiff
path: root/searx/templates/__common__
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2021-05-16 19:35:49 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2021-05-17 21:23:27 +0200
commit3e9ad7ae0c5d520e88bf686de9038d22907876f7 (patch)
tree1b0f8b57310d31044ecab5406b152e784f2fdf37 /searx/templates/__common__
parent34859d0e5872499c72fcaebb67ca57f95beb9864 (diff)
downloadsearxng-3e9ad7ae0c5d520e88bf686de9038d22907876f7.tar.gz
searxng-3e9ad7ae0c5d520e88bf686de9038d22907876f7.zip
[fix] make /stats more CSP compliant - github issue form
Hide textarea from github issue form:: ./__common__/new_issue.html:6: <textarea name="body" style="display: none;">{{- '' -}} BTW: fix indentation. Reported-by: https://github.com/searxng/searxng/issues/57 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/templates/__common__')
-rw-r--r--searx/templates/__common__/new_issue.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/templates/__common__/new_issue.html b/searx/templates/__common__/new_issue.html
index d983417b0..1b28804af 100644
--- a/searx/templates/__common__/new_issue.html
+++ b/searx/templates/__common__/new_issue.html
@@ -3,7 +3,7 @@
<input name="title" type="hidden" value="Bug: {{ engine_name }} engine">
<input name="labels" type="hidden" value="bug">
<input name="template" type="hidden" value="bug-report.md">
- <textarea name="body" style="display: none;">{{- '' -}}
+ <textarea name="body" class="issue-hide">{{- '' -}}
**Version of SearXNG, commit number if you are using on master branch and stipulate if you forked SearXNG**
<!-- If you are running on master branch using git execute this command