html-escape only field.description

hinted-selects
Vitaliy Filippov 2014-10-24 13:54:35 +04:00
parent 5eb4fe15ba
commit dc09a5645f
1 changed files with 2 additions and 2 deletions

View File

@ -134,8 +134,8 @@
[% FOREACH field = freetext_fields %]
<tr id="[% field.name %]_cont">
<th align="right">
<label for="[% field.name %]"
accesskey="[% tf_accesskey.${field.name} %]">[% tf_desc.${field.name} || field.description | html %]</label>:
<label for="[% field.name %]" accesskey="[% tf_accesskey.${field.name} %]">
[% tf_desc.${field.name} || html(field.description) %]</label>:
</th>
<td>
[% t = field.name _ '_type' %]