Skip to content

Product Details Page breadcrumbs cause syntax error on products containing quotes #15037

Closed
@brian-labelle

Description

@brian-labelle

Preconditions

  1. Magento version: 2.2.4

Steps to reproduce

  1. Add a product with " in the title, e.g. My Product - 19" x 16" Header
  2. Navigate to Product Details Page
  3. Observe the Syntax Error in the browser console

Expected result

  1. Template file should escape " in product name

Actual result

  1. Syntax Error occurs in console upon JSON Parse SyntaxError: Unexpected token x in JSON

Metadata

Metadata

Labels

Event: dmcdindiaFixed in 2.2.xThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: Format is validGate 1 Passed. Automatic verification of issue format passed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions