-
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
Product Details Page breadcrumbs cause syntax error on products containing quotes #15037
Comments
Magento_Catalog
To fix the issue, the product name value must go through |
I have the same issue here (also 2.2.4). I'll quick fix it for now (thanks @brian-labelle), but this definitely needs to be fixed. |
We have the same issue, is there any fix for this already? |
@Bobstar040 : my best guess would be to implement the fix as described by @brian-labelle at the moment. I hope that this will be fixed in M2.2.5+ / M2.3, but probably @magento-engcom-team could shed more light on this. |
Same issue here too with hundreds of products that contain quotes. I'll implement @brian-labelle 's fix. |
@magento-engcom-team unable to re-produce the issue in 2.2-develop branch, magento version 2.2.6-dev. |
I am working on this at #dmcdindia |
Hi @brian-labelle. Thank you for your report.
The fix will be available with the upcoming 2.2.5 release. |
Hi @brian-labelle. Thank you for your report. The fix will be available with the upcoming 2.3.0 release. |
Since @magento-engcom-team have not implemented this in 2.5.5... For anyone else who needs it, to implement the fix described by @brian-labelle in a theme. |
You have to overwrite the file app/design/frontend/Vendor/Theme/Magento_Catalog/templates/product/breadcrumbs.phtml |
Preconditions
Steps to reproduce
"
in the title, e.g.My Product - 19" x 16" Header
Expected result
"
in product nameActual result
SyntaxError: Unexpected token x in JSON
The text was updated successfully, but these errors were encountered: