Skip to content

Commit

Permalink
修复searchInput在包含&字符时,搜索框会显示转译结果,导致翻页出现错乱
Browse files Browse the repository at this point in the history
  • Loading branch information
cinfree authored and cinfree committed Aug 4, 2023
1 parent 979203f commit a64c675
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simpleui/templates/admin/search_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down

0 comments on commit a64c675

Please sign in to comment.