Skip to content

Commit 2944583

Browse files
committed
MC-16618: Eliminate @escapeNotVerified in Sales-related Modules
- Resolve store-front attribute issues
1 parent 5aa97c4 commit 2944583

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/Sales/view/frontend/templates/order

1 file changed

+2
-2
lines changed

app/code/Magento/Sales/view/frontend/templates/order/totals.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
<?= $block->getChildHtml($_total->getBlockName(), false) ?>
1515
<?php else :?>
1616
<tr class="<?= $block->escapeHtmlAttr($_code) ?>">
17-
<th <?= $block->escapeHtmlAttr($block->getLabelProperties()) ?> scope="row">
17+
<th <?= /* @noEscape */ $block->getLabelProperties() ?> scope="row">
1818
<?php if ($_total->getStrong()) : ?>
1919
<strong><?= $block->escapeHtml($_total->getLabel()) ?></strong>
2020
<?php else : ?>
2121
<?= $block->escapeHtml($_total->getLabel()) ?>
2222
<?php endif ?>
2323
</th>
24-
<td <?= $block->escapeHtmlAttr($block->getValueProperties()) ?> data-th="<?= $block->escapeHtmlAttr($_total->getLabel()) ?>">
24+
<td <?= /* @noEscape */ $block->getValueProperties() ?> data-th="<?= $block->escapeHtmlAttr($_total->getLabel()) ?>">
2525
<?php if ($_total->getStrong()) : ?>
2626
<strong><?= /* @noEscape */ $block->formatValue($_total) ?></strong>
2727
<?php else : ?>

0 commit comments

Comments
 (0)