diff --git a/app/code/Magento/Paypal/view/frontend/templates/express/review.phtml b/app/code/Magento/Paypal/view/frontend/templates/express/review.phtml index 5d3c0b5c72089ae21be5a04b524b1eff163d3ae0..9146130881cabf5d0bd40352950db4b897b58b4a 100644 --- a/app/code/Magento/Paypal/view/frontend/templates/express/review.phtml +++ b/app/code/Magento/Paypal/view/frontend/templates/express/review.phtml @@ -42,8 +42,8 @@ <?php echo($currentRate === $rate) ? ' selected="selected"' : ''; ?>> - <?php echo - $block->escapeHtml($block->renderShippingRateOption($rate)); + <?php /* @noEscape */ echo + $block->renderShippingRateOption($rate); ?> </option> <?php endforeach; ?> @@ -70,10 +70,8 @@ <?php endif; ?> <?php else: ?> <p> - <?php echo $block->escapeHtml( - $block->renderShippingRateOption( - $block->getCurrentShippingRate() - ) + <?php /* @noEscape */ echo $block->renderShippingRateOption( + $block->getCurrentShippingRate() ); ?> </p> <?php endif; ?> diff --git a/app/code/Magento/Paypal/view/frontend/templates/express/review/shipping/method.phtml b/app/code/Magento/Paypal/view/frontend/templates/express/review/shipping/method.phtml index ce8952a08d3b6d03f69d0a8c56326b555a1d7263..909d0e1c762e851ec6d81f6f643e725bd8cb067c 100644 --- a/app/code/Magento/Paypal/view/frontend/templates/express/review/shipping/method.phtml +++ b/app/code/Magento/Paypal/view/frontend/templates/express/review/shipping/method.phtml @@ -24,7 +24,7 @@ <option value="<?php echo $block->escapeHtml($block->renderShippingRateValue($rate)); ?>" <?php echo($currentRate === $rate) ? ' selected="selected"' : ''; ?>> - <?php echo $block->escapeHtml($block->renderShippingRateOption($rate)); ?> + <?php /* @noEscape */ echo $block->renderShippingRateOption($rate); ?> </option> <?php endforeach; ?> </optgroup> @@ -40,7 +40,7 @@ <?php else: ?> <p> <strong> - <?php echo $block->escapeHtml($block->renderShippingRateOption($block->getCurrentShippingRate())); ?> + <?php /* @noEscape */ echo $block->renderShippingRateOption($block->getCurrentShippingRate()); ?> </strong> </p> <?php endif; ?>