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 committed Jul 18, 2024
1 parent 544c61e commit 7a0f6e9
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 7a0f6e9

Please sign in to comment.