Skip to content

Commit 3fc03bb

Browse files
committed
Fix: Escape contact name in select option
1 parent 950fe89 commit 3fc03bb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/contactform/views/templates/widget/contactform.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
<div class="col-md-6">
5353
<select name="id_contact" id="id_contact" class="form-control form-control-select">
5454
{foreach from=$contact.contacts item=contact_elt}
55-
<option value="{$contact_elt.id_contact}">{$contact_elt.name}</option>
55+
<option value="{$contact_elt.id_contact}">{$contact_elt.name|escape:'htmlall':'UTF-8'}</option>
5656
{/foreach}
5757
</select>
5858
</div>

0 commit comments

Comments
 (0)