Added force_escape to the current report title in the report chooser template in the accounting application.

This commit is contained in:
依瑪貓 2020-08-07 09:46:37 +08:00
parent 2805eb0774
commit 4eb2391fd8

View File

@ -57,7 +57,7 @@ First written: 2020/7/9
<button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown"> <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown">
<span class="d-none d-md-inline"> <span class="d-none d-md-inline">
<i class="{{ current_report_icon }}"></i> <i class="{{ current_report_icon }}"></i>
{{ current_report_title }} {{ current_report_title|force_escape }}
</span> </span>
<span class="d-md-none">{{ _("Book")|force_escape }}</span> <span class="d-md-none">{{ _("Book")|force_escape }}</span>
</button> </button>