Skip to content

Commit c52cb22

Browse files
committed
MAGETWO-63116: [GitHub] Quotes in product name causes JSON error on product page MAP What's This Popup #8059
- remove annotation
1 parent 0a88742 commit c52cb22

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Msrp/view/base/templates/product/price

1 file changed

+1
-1
lines changed

app/code/Magento/Msrp/view/base/templates/product/price/msrp.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ if ($product->isSaleable()) {
9595
class="action map-show-info"
9696
data-mage-init='{"addToCart":{"origin": "info",
9797
"helpLinkId": "#<?php /* @escapeNotVerified */ echo $helpLinkId;?>",
98-
"productName": "<?php /* @escapeNotVerified */ echo $block->escapeJs($block->escapeHtml($product->getName())) ?>",
98+
"productName": "<?php echo $block->escapeJs($block->escapeHtml($product->getName())) ?>",
9999
"closeButtonId": "#map-popup-close"}}'><span><?php /* @escapeNotVerified */ echo __("What's this?"); ?></span>
100100
</a>
101101
<?php endif; ?>

0 commit comments

Comments
 (0)