Skip to content

Commit c903d98

Browse files
committed
MAGETWO-99300: Eliminate @escapeNotVerified in Magento_Multishipping module
* Fixed formatting to eliminate whitespace in anchor element
1 parent 2c646fe commit c903d98

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

app/code/Magento/Multishipping/view/frontend/templates/checkout/item/default.phtml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,9 @@
44
* See COPYING.txt for license details.
55
*/
66

7+
// phpcs:disable Magento2.Files.LineLength
78
?>
8-
<strong class="product name product-item-name">
9-
<a href="<?= $block->escapeUrl($block->getProductUrl()) ?>">
10-
<?= $block->escapeHtml($block->getProductName()) ?>
11-
</a>
12-
</strong>
9+
<strong class="product name product-item-name"><a href="<?= $block->escapeUrl($block->getProductUrl()) ?>"><?= $block->escapeHtml($block->getProductName()) ?></a></strong>
1310
<?php if ($_options = $block->getOptionList()) : ?>
1411
<dl class="item-options">
1512
<?php foreach ($_options as $_option) : ?>

app/code/Magento/Multishipping/view/frontend/templates/multishipping/item/default.phtml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,10 @@
44
* See COPYING.txt for license details.
55
*/
66

7+
// phpcs:disable Magento2.Files.LineLengthß
78
?>
89
<div class="product details">
9-
<strong class="product name">
10-
<a href="<?= $block->escapeUrl($block->getProductUrl()) ?>">
11-
<?= $block->escapeHtml($block->getProductName()) ?>
12-
</a>
13-
</strong>
10+
<strong class="product name"><a href="<?= $block->escapeUrl($block->getProductUrl()) ?>"><?= $block->escapeHtml($block->getProductName()) ?></a></strong>
1411
<?php if ($_options = $block->getOptionList()) : ?>
1512
<dl class="item options">
1613
<?php foreach ($_options as $_option) : ?>

0 commit comments

Comments
 (0)