diff --git a/app/code/Magento/Tax/view/frontend/templates/checkout/subtotal.phtml b/app/code/Magento/Tax/view/frontend/templates/checkout/subtotal.phtml
index dc9034fc9f694..41db5db0285df 100644
--- a/app/code/Magento/Tax/view/frontend/templates/checkout/subtotal.phtml
+++ b/app/code/Magento/Tax/view/frontend/templates/checkout/subtotal.phtml
@@ -1,17 +1,18 @@
escapeHtmlAttr($block->getStyle());
+$style = $escaper->escapeHtmlAttr($block->getStyle());
$colspan = (int) $block->getColspan();
/** @var \Magento\Checkout\Helper\Data $checkoutHelper */
$checkoutHelper = $block->getData('checkoutHelper');
@@ -19,9 +20,9 @@ $checkoutHelper = $block->getData('checkoutHelper');
displayBoth()): ?>
- = $block->escapeHtml(__('Subtotal (Excl. Tax)')) ?>
+ = $escaper->escapeHtml(__('Subtotal (Excl. Tax)')) ?>
|
-
+
= /* @noEscape */ $checkoutHelper->formatPrice($block->getTotal()->getValueExclTax()) ?>
|
@@ -31,9 +32,9 @@ $checkoutHelper = $block->getData('checkoutHelper');
- = $block->escapeHtml(__('Subtotal (Incl. Tax)')) ?>
+ = $escaper->escapeHtml(__('Subtotal (Incl. Tax)')) ?>
|
-
+ |
= /* @noEscape */ $checkoutHelper->formatPrice($block->getTotal()->getValueInclTax()) ?>
|
@@ -44,9 +45,9 @@ $checkoutHelper = $block->getData('checkoutHelper');
- = $block->escapeHtml($block->getTotal()->getTitle()) ?>
+ = $escaper->escapeHtml($block->getTotal()->getTitle()) ?>
|
-
+ |
= /* @noEscape */ $checkoutHelper->formatPrice($block->getTotal()->getValue()) ?>
|