-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Swatch attribute option containing double quotes are not correctly displayed #35495
Comments
Hi @ganeddact. Thank you for your report.
Make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:
For more details, review the Magento Contributor Assistant documentation. Add a comment to assign the issue: To learn more about issue processing workflow, refer to the Code Contributions.
🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket. ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
Hi @engcom-Delta. Thank you for working on this issue.
|
Hi @engcom-Lima. Thank you for working on this issue.
|
@magento give me 2.4-develop instance |
Hi @engcom-Lima. Thank you for your request. I'm working on Magento instance for you. |
Hi @engcom-Lima, here is your Magento Instance: https://572fb37553ab5551da6e27721bdbedbc.instances.magento-community.engineering |
Unfortunately, not enough information was provided to create a Jira ticket. Please make sure you added the following label(s): Once all required labels are present, please add |
✅ Jira issue https://jira.corp.magento.com/browse/AC-3113 is successfully created for this GitHub issue. |
✅ Confirmed by @engcom-Lima. Thank you for verifying the issue. |
Hi @engcom-Lima. Thank you for working on this issue.
|
Hi @ganeddact , Thanks for your reporting and collaboration. Steps to reproduce -
|
Preconditions and environment
If a product attribute has an option that has a label containing a double quote, it's not being escaped and breaks the templating.
In these screens, size should have been "SIZE 14 (35/36") LONG" and instead only "SIZE 14 (35/36" could be read, and inspecting the HTML can be seen how the double quote broke the data-option-label attribute.
To make things worse, the template cannot be easily overridden in the theme because it's hardcoded, please refer to #4400 that has been closed without a fix
Steps to reproduce
Expected result
Swatch options showing the entire label, correctly showing text after the double quote
Actual result
The swatch option label is cut from the double quote onwards
Additional information
No response
Release note
No response
Triage and priority
The text was updated successfully, but these errors were encountered: