Skip to content

Commit

Permalink
Escape product variant option names, as they can include quote charac…
Browse files Browse the repository at this point in the history
…ters and this renders undesirably. (Shopify#3567)
  • Loading branch information
dan-menard authored and NikoBerger committed Aug 8, 2024
1 parent 3615660 commit 1386eac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snippets/product-variant-options.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
<input
type="radio"
id="{{ input_id }}"
name="{{ input_name }}"
name="{{ input_name | escape }}"
value="{{ value | escape }}"
form="{{ product_form_id }}"
{% if value.selected %}
Expand Down

0 comments on commit 1386eac

Please sign in to comment.