fixes #1173: removes double escapes form input twig macro

This commit is contained in:
msquare 2023-08-13 15:56:35 +02:00
parent af2ac1bc3e
commit cffc9854f8
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ Renders an input field wrapped in a DIV with mb-3.
<input
type="{{ opt.type|default('text') }}" class="form-control"
id="{{ name }}" name="{{ name }}"
value="{{ opt.value|default('')|escape('html_attr') }}"
value="{{ opt.value|default('') }}"
{%- if opt.min_length is defined %} minlength="{{ opt.min_length }}"{% endif %}
{%- if opt.max_length is defined %} maxlength="{{ opt.max_length }}"{% endif %}
{%- if opt.min is defined %} min="{{ opt.min }}"{% endif %}