Escape values to input fields (and some 'title' and 'alt')

This commit is contained in:
Fabrixxm 2015-02-16 09:30:12 +01:00
parent e051da8203
commit 9d3fb417c2
64 changed files with 209 additions and 186 deletions

View file

@ -2,6 +2,6 @@
<div class='field checkbox'>
<label for='id_{{$field.0}}'>{{$field.1}}</label>
<input type="checkbox" name='{{$field.0}}' id='id_{{$field.0}}' value="{{$field.3}}" {{if $field.2}}checked="true"{{/if}}>
<input type="checkbox" name='{{$field.0}}' id='id_{{$field.0}}' value="{{$field.3|escape:'html'}}" {{if $field.2}}checked="true"{{/if}}>
<span class='field_help'>{{$field.4}}</span>
</div>