Skip to content

Commit 4ea9786

Browse files
author
Hwashiang Yu
committed
MAGETWO-55808: Eliminate @escapeNotVerified in Product Modules
- Unescaped uneeded escapes
1 parent 7e49fe5 commit 4ea9786

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

app/code/Magento/Bundle/view/frontend/templates/js/components.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
// @codingStandardsIgnoreFile
88

99
?>
10-
<?= /* @noEscape */ $block->getChildHtml() ?>
10+
<?= $block->getChildHtml() ?>
1111

app/code/Magento/ConfigurableProduct/view/frontend/templates/js/components.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
// @codingStandardsIgnoreFile
88

99
?>
10-
<?= /* @noEscape */ $block->getChildHtml() ?>
10+
<?= $block->getChildHtml() ?>

app/code/Magento/Downloadable/view/frontend/templates/js/components.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
// @codingStandardsIgnoreFile
88

99
?>
10-
<?= /* @noEscape */ $block->getChildHtml() ?>
10+
<?= $block->getChildHtml() ?>

app/code/Magento/Downloadable/view/frontend/templates/sales/order/creditmemo/items/renderer/downloadable.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
<td class="col subtotal" data-th="<?= $block->escapeHtml(__('Subtotal')) ?>">
6262
<?= $block->getItemRowTotalHtml() ?>
6363
</td>
64-
<td class="col discount" data-th="<?= $block->escapeHtml(__('Discount Amount')) ?>"><?= $block->escapeHtml($_order->formatPrice(-$_item->getDiscountAmount())) ?></td>
64+
<td class="col discount" data-th="<?= $block->escapeHtml(__('Discount Amount')) ?>"><?= /* @noEscape */ $_order->formatPrice(-$_item->getDiscountAmount()) ?></td>
6565
<td class="col total" data-th="<?= $block->escapeHtml(__('Row Total')) ?>">
6666
<?= $block->getItemRowTotalAfterDiscountHtml() ?>
6767
</td>

app/code/Magento/GroupedProduct/view/base/templates/product/price/final_price.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ if ($minProduct) {
2929
<div class="price-box">
3030
<?php if ($minProduct && \Magento\Framework\Pricing\Render::ZONE_ITEM_VIEW != $block->getZone()): ?>
3131
<p class="minimal-price">
32-
<span class="price-label"><?= $block->escapeHtml(__('Starting at')) ?></span><?= /* @noEscape */ $amountRender->toHtml() ?>
32+
<span class="price-label"><?= $block->escapeHtml(__('Starting at')) ?></span><?= $amountRender->toHtml() ?>
3333
</p>
3434
<?php endif ?>
3535
</div>

0 commit comments

Comments
 (0)