We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 813219a commit eb8aa49Copy full SHA for eb8aa49
app/code/Magento/Catalog/ViewModel/Product/Breadcrumbs.php
@@ -106,7 +106,7 @@ public function getJsonConfiguration() : string
106
'breadcrumbs' => [
107
'categoryUrlSuffix' => $this->getCategoryUrlSuffix(),
108
'userCategoryPathInUrl' => (int)$this->isCategoryUsedInProductUrl(),
109
- 'product' => $this->getProductName()
+ 'product' => $this->escaper->escapeHtml($this->getProductName())
110
]
111
],
112
JSON_HEX_TAG
0 commit comments