From a64c6751f51d7c4a6b4f68dc2daac2881510cf40 Mon Sep 17 00:00:00 2001 From: cinfree Date: Fri, 4 Aug 2023 15:16:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DsearchInput=E5=9C=A8=E5=8C=85?= =?UTF-8?q?=E5=90=AB&=E5=AD=97=E7=AC=A6=E6=97=B6=EF=BC=8C=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E6=A1=86=E4=BC=9A=E6=98=BE=E7=A4=BA=E8=BD=AC=E8=AF=91?= =?UTF-8?q?=E7=BB=93=E6=9E=9C=EF=BC=8C=E5=AF=BC=E8=87=B4=E7=BF=BB=E9=A1=B5?= =?UTF-8?q?=E5=87=BA=E7=8E=B0=E9=94=99=E4=B9=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- simpleui/templates/admin/search_form.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simpleui/templates/admin/search_form.html b/simpleui/templates/admin/search_form.html index 0c9e5748..851accb4 100644 --- a/simpleui/templates/admin/search_form.html +++ b/simpleui/templates/admin/search_form.html @@ -144,7 +144,7 @@ el: '#toolbar', data: { placeholder: '{% trans 'Search' %}{% autoescape off %}{% search_placeholder %}'{% endautoescape %}, - searchInput: '{{ cl.query }}', + searchInput: '{{ cl.query | safe }}', {% if cl.has_filters %} {% for spec in cl.filter_specs %} {% if spec.links %}