Skip to content

Commit a582a28

Browse files
ENGCOM-1617: Fixed breadcrumb quote issue in product page #15037 #15347
- Merge Pull Request #15347 from jignesh-baldha/magento2:jignesh-baldha-patch1 - Merged commits: 1. 6fcfb88 2. bfb39b5 3. 8e93b0d
2 parents 32892a4 + 8e93b0d commit a582a28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/view/frontend/templates/product/breadcrumbs.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ $viewModel = $block->getData('viewModel');
1111
"breadcrumbs": {
1212
"categoryUrlSuffix": "<?= $block->escapeHtml($viewModel->getCategoryUrlSuffix()); ?>",
1313
"useCategoryPathInUrl": <?= (int)$viewModel->isCategoryUsedInProductUrl(); ?>,
14-
"product": "<?= $block->escapeHtml($block->escapeJsQuote($viewModel->getProductName(), '"')); ?>"
14+
"product": "<?= $block->escapeHtml($block->escapeJs($viewModel->getProductName())); ?>"
1515
}
1616
}'>
1717
</div>

0 commit comments

Comments
 (0)