Skip to content

Commit c927e1b

Browse files
author
Joan He
committed
Merge remote-tracking branch 'arcticfoxes/MC-17322' into 2.3-develop-pr
2 parents 57ffbd9 + 799768d commit c927e1b

File tree

9 files changed

+23
-9
lines changed

9 files changed

+23
-9
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
</td>
6868
<td class="col discount" data-th="<?= $block->escapeHtml(__('Discount Amount')) ?>">
6969
<?php if ($block->canShowPriceInfo($_item)) : ?>
70-
<?= $block->escapeHtml($block->getOrder()->formatPrice(-$_item->getDiscountAmount())) ?>
70+
<?= $block->escapeHtml($block->getOrder()->formatPrice(-$_item->getDiscountAmount()), ['span']) ?>
7171
<?php else : ?>
7272
&nbsp;
7373
<?php endif; ?>

app/code/Magento/Checkout/view/frontend/templates/cart/item/price/sidebar.phtml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
<span class="price-label"><?= $block->escapeHtml(__('Price')) ?></span>
1414
<span class="price-wrapper">
1515
<?= $block->escapeHtml(
16-
$this->helper(Magento\Checkout\Helper\Data::class)->formatPrice($_item->getCalculationPrice())
16+
$this->helper(Magento\Checkout\Helper\Data::class)->formatPrice($_item->getCalculationPrice()),
17+
['span']
1718
) ?>
1819
</span>
1920
</div>

app/code/Magento/Checkout/view/frontend/templates/item/price/row.phtml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ $_item = $block->getItem();
1313
<span class="price-excluding-tax" data-label="<?= $block->escapeHtml(__('Excl. Tax')) ?>">
1414
<span class="cart-price">
1515
<?= $block->escapeHtml(
16-
$this->helper(Magento\Checkout\Helper\Data::class)->formatPrice($_item->getRowTotal())
16+
$this->helper(Magento\Checkout\Helper\Data::class)->formatPrice($_item->getRowTotal()),
17+
['span']
1718
) ?>
1819
</span>
1920
</span>

app/code/Magento/Checkout/view/frontend/templates/item/price/unit.phtml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ $_item = $block->getItem();
1313
<span class="price-including-tax" data-label="<?= $block->escapeHtml(__('Excl. Tax')) ?>">
1414
<span class="cart-price">
1515
<?= $block->escapeHtml(
16-
$this->helper(Magento\Checkout\Helper\Data::class)->formatPrice($_item->getCalculationPrice())
16+
$this->helper(Magento\Checkout\Helper\Data::class)->formatPrice($_item->getCalculationPrice()),
17+
['span']
1718
) ?>
1819
</span>
1920
</span>

app/code/Magento/Checkout/view/frontend/templates/onepage/review/item/price/row_excl_tax.phtml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,8 @@
1111
$_item = $block->getItem();
1212
?>
1313
<span class="cart-price">
14-
<?= $block->escapeHtml($this->helper(Magento\Checkout\Helper\Data::class)->formatPrice($_item->getRowTotal())) ?>
14+
<?= $block->escapeHtml(
15+
$this->helper(Magento\Checkout\Helper\Data::class)->formatPrice($_item->getRowTotal()),
16+
['span']
17+
) ?>
1518
</span>

app/code/Magento/Checkout/view/frontend/templates/onepage/review/item/price/row_incl_tax.phtml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,8 @@ $_item = $block->getItem();
1212
?>
1313
<?php $_incl = $this->helper(Magento\Checkout\Helper\Data::class)->getSubtotalInclTax($_item); ?>
1414
<span class="cart-price">
15-
<?= $block->escapeHtml($this->helper(Magento\Checkout\Helper\Data::class)->formatPrice($_incl)) ?>
15+
<?= $block->escapeHtml(
16+
$this->helper(Magento\Checkout\Helper\Data::class)->formatPrice($_incl),
17+
['span']
18+
) ?>
1619
</span>

app/code/Magento/Checkout/view/frontend/templates/onepage/review/item/price/unit_excl_tax.phtml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ $_item = $block->getItem();
1212
?>
1313
<span class="cart-price">
1414
<?= $block->escapeHtml(
15-
$this->helper(Magento\Checkout\Helper\Data::class)->formatPrice($_item->getCalculationPrice())
15+
$this->helper(Magento\Checkout\Helper\Data::class)->formatPrice($_item->getCalculationPrice()),
16+
['span']
1617
) ?>
1718
</span>

app/code/Magento/Checkout/view/frontend/templates/onepage/review/item/price/unit_incl_tax.phtml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,8 @@ $_item = $block->getItem();
1212
?>
1313
<?php $_incl = $this->helper(Magento\Checkout\Helper\Data::class)->getPriceInclTax($_item); ?>
1414
<span class="cart-price">
15-
<?= $block->escapeHtml($this->helper(Magento\Checkout\Helper\Data::class)->formatPrice($_incl)) ?>
15+
<?= $block->escapeHtml(
16+
$this->helper(Magento\Checkout\Helper\Data::class)->formatPrice($_incl),
17+
['span']
18+
) ?>
1619
</span>

app/code/Magento/Checkout/view/frontend/templates/total/default.phtml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232
<?php endif; ?>
3333
<span>
3434
<?= $block->escapeHtml(
35-
$this->helper(Magento\Checkout\Helper\Data::class)->formatPrice($block->getTotal()->getValue())
35+
$this->helper(Magento\Checkout\Helper\Data::class)->formatPrice($block->getTotal()->getValue()),
36+
['span']
3637
) ?>
3738
</span>
3839
<?php if ($block->getRenderingArea() == $block->getTotal()->getArea()) :?>

0 commit comments

Comments
 (0)