{%- endif -%}
<{{ element|default('label') }}{% if label_attr %}{% with { attr: label_attr } %}{{ block('attributes') }}{% endwith %}{% endif %}>
{%- if translation_domain is same as(false) -%}
- {{- label -}}
+ {%- if label_html is same as(false) -%}
+ {{- label -}}
+ {%- else -%}
+ {{- label|raw -}}
+ {%- endif -%}
{%- else -%}
- {{- label|trans({}, translation_domain) -}}
+ {%- if label_html is same as(false) -%}
+ {{- label|trans({}, translation_domain) -}}
+ {%- else -%}
+ {{- label|trans({}, translation_domain)|raw -}}
+ {%- endif -%}
{%- endif -%}
</{{ element|default('label') }}>
{%- endif -%}