]> git.mxchange.org Git - friendica.git/blobdiff - view/templates/field_select.tpl
Merge branch 'develop' of https://github.com/friendica/friendica into develop
[friendica.git] / view / templates / field_select.tpl
index a3274f51af7f4b8b2c4efbf14e55a27404b4e3b7..4fbbd4beb0a5423a2df00e5fb0479facbd0e9a95 100644 (file)
@@ -3,7 +3,7 @@
        <div class='field select'>
                <label for='id_{{$field.0}}'>{{$field.1}}</label>
                <select name='{{$field.0}}' id='id_{{$field.0}}'>
-                       {{foreach $field.4 as $opt=>$val}}<option value="{{$opt}}" {{if $opt==$field.2}}selected="selected"{{/if}}>{{$val}}</option>{{/foreach}}
+                       {{foreach $field.4 as $opt=>$val}}<option value="{{$opt|escape:'html'}}" {{if $opt==$field.2}}selected="selected"{{/if}}>{{$val}}</option>{{/foreach}}
                </select>
                <span class='field_help'>{{$field.3}}</span>
        </div>