Skip to content

Commit

Permalink
IBX-7442: Added escape filter html attribute on item_label
Browse files Browse the repository at this point in the history
  • Loading branch information
Mateusz Dębiński committed Feb 13, 2024
1 parent 11849cf commit cb432c5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
{% set is_selected = custom_form ? choice.value == value : choice is selectedchoice(value) %}
<li
data-value="{{ choice.value }}"
data-filter-value="{{ item_label }}"
data-filter-value="{{ item_label|e('html_attr') }}"
{% if choice.icon is defined %}
data-choice-icon="{{ choice.icon }}"
{% endif %}
Expand Down

0 comments on commit cb432c5

Please sign in to comment.