We will be off from 27/1 (Monday) to 31/1 (Friday) (GMT +7) for our Tet Holiday (Lunar New Year) in our country

Commit 94f97aa4 authored by attilak's avatar attilak

Remove excapeHtml when html is expected

parent ec022601
...@@ -69,7 +69,7 @@ $_isDemoMode = $block->isDemoMode(); ...@@ -69,7 +69,7 @@ $_isDemoMode = $block->isDemoMode();
<?php if (!empty($order->getGrandTotal())): ?> <?php if (!empty($order->getGrandTotal())): ?>
<tr> <tr>
<th scope="row"><?= $block->escapeHtml(__('Amount')); ?></th> <th scope="row"><?= $block->escapeHtml(__('Amount')); ?></th>
<td><?= $block->escapeHtml($order->formatPrice($order->getGrandTotal())); ?></td> <td><?= /* @noEscape */ $order->formatPrice($order->getGrandTotal()); ?></td>
</tr> </tr>
<?php endif; ?> <?php endif; ?>
......
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
<?php if (!empty($order->getGrandTotal())): ?> <?php if (!empty($order->getGrandTotal())): ?>
<tr> <tr>
<th scope="row"><?= $block->escapeHtml(__('Amount')); ?></th> <th scope="row"><?= $block->escapeHtml(__('Amount')); ?></th>
<td><?= $block->escapeHtml($order->formatPrice($order->getGrandTotal())); ?></td> <td><?= /* @noEscape */ $order->formatPrice($order->getGrandTotal()); ?></td>
</tr> </tr>
<?php endif; ?> <?php endif; ?>
...@@ -122,7 +122,7 @@ ...@@ -122,7 +122,7 @@
<?php if (!empty($multibancoData['totalAmount'])): ?> <?php if (!empty($multibancoData['totalAmount'])): ?>
<tr> <tr>
<th scope="row"><?= $block->escapeHtml(__('Amount')); ?></th> <th scope="row"><?= $block->escapeHtml(__('Amount')); ?></th>
<td><?= $block->escapeHtml($block->priceHelper->currency($multibancoData['totalAmount']['value']));?> <td><?= /* @noEscape */ $block->priceHelper->currency($multibancoData['totalAmount']['value']);?>
</td> </td>
</tr> </tr>
<?php endif; ?> <?php endif; ?>
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
<?php <?php
if (!empty($order->getGrandTotal())): ?> if (!empty($order->getGrandTotal())): ?>
<dt><?= $block->escapeHtml(__('Amount')); ?></dt> <dt><?= $block->escapeHtml(__('Amount')); ?></dt>
<dd><?= $block->escapeHtml($order->formatPrice($order->getGrandTotal())); ?></dd> <dd><?= /* @noEscape */ $order->formatPrice($order->getGrandTotal()); ?></dd>
<?php endif; ?> <?php endif; ?>
<?php if (!empty($banktranferData['bankTransfer.reference'])): ?> <?php if (!empty($banktranferData['bankTransfer.reference'])): ?>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment