Skip to content

Commit c54d67a

Browse files
author
Ievgen Sentiabov
committed
MAGETWO-44588: Shipping address is displayed with html tags on express Order Review Page
- Added `br` tags to escaper excluded tags list for shipping address rendering
1 parent 02e0378 commit c54d67a

File tree

1 file changed

+4
-1
lines changed
  • app/code/Magento/Paypal/view/frontend/templates/express

1 file changed

+4
-1
lines changed

app/code/Magento/Paypal/view/frontend/templates/express/review.phtml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,10 @@
8484
</strong>
8585
<div class="box-content">
8686
<address>
87-
<?php echo $block->escapeHtml($block->renderAddress($block->getShippingAddress())); ?>
87+
<?php echo $block->escapeHtml(
88+
$block->renderAddress($block->getShippingAddress()),
89+
['br']
90+
); ?>
8891
</address>
8992
</div>
9093
<?php if ($block->getCanEditShippingAddress()): ?>

0 commit comments

Comments
 (0)