diff --git a/app/code/Magento/Sales/view/adminhtml/templates/items/column/name.phtml b/app/code/Magento/Sales/view/adminhtml/templates/items/column/name.phtml
index 30037a918a10c..ab66cc0e42ad6 100644
--- a/app/code/Magento/Sales/view/adminhtml/templates/items/column/name.phtml
+++ b/app/code/Magento/Sales/view/adminhtml/templates/items/column/name.phtml
@@ -14,32 +14,34 @@
?>
getItem()): ?>
-
= $block->escapeHtml($_item->getName()) ?>
-
- = /* @escapeNotVerified */ __('SKU') ?>: = implode('
', $this->helper('Magento\Catalog\Helper\Data')->splitSku($block->escapeHtml($block->getSku()))) ?>
+ = $block->escapeHtml(__('SKU'))?>: = implode('
', $this->helper('Magento\Catalog\Helper\Data')->splitSku($block->escapeHtml($block->getSku()))) ?>
getOrderOptions()): ?>
getOrderOptions() as $_option): ?>
- - = /* @escapeNotVerified */ $_option['label'] ?>:
+ - = $block->escapeHtml($_option['label']) ?>:
-
- = /* @escapeNotVerified */ $block->getCustomizedOptionValue($_option) ?>
+ = $block->escapeHtml($block->getCustomizedOptionValue($_option)) ?>
getFormattedOption($_option['value']); ?>
- = $block->escapeHtml($_option['value']) ?> ...= /* @escapeNotVerified */ $_option['remainder'] ?>
+
+ = $block->escapeHtml($_option['value']) ?> ...
+
+ = $block->escapeHtml($_option['remainder']) ?>
diff --git a/app/code/Magento/Sales/view/adminhtml/templates/items/column/qty.phtml b/app/code/Magento/Sales/view/adminhtml/templates/items/column/qty.phtml
index faa49dca3a8eb..9bf4856795197 100644
--- a/app/code/Magento/Sales/view/adminhtml/templates/items/column/qty.phtml
+++ b/app/code/Magento/Sales/view/adminhtml/templates/items/column/qty.phtml
@@ -7,38 +7,38 @@
// @codingStandardsIgnoreFile
?>
-getItem()): ?>
+getItem()): ?>
- = /* @escapeNotVerified */ __('Ordered') ?> |
- = /* @escapeNotVerified */ $_item->getQtyOrdered()*1 ?> |
+ = $block->escapeHtml(__('Ordered')); ?> |
+ = /* @noEscape */ $item->getQtyOrdered()*1 ?> |
- getQtyInvoiced()): ?>
+ getQtyInvoiced()): ?>
- = /* @escapeNotVerified */ __('Invoiced') ?> |
- = /* @escapeNotVerified */ $_item->getQtyInvoiced()*1 ?> |
+ = $block->escapeHtml(__('Invoiced')); ?> |
+ = /* @noEscape */ $item->getQtyInvoiced()*1 ?> |
- getQtyShipped()): ?>
+ getQtyShipped()): ?>
- = /* @escapeNotVerified */ __('Shipped') ?> |
- = /* @escapeNotVerified */ $_item->getQtyShipped()*1 ?> |
+ = $block->escapeHtml(__('Shipped')); ?> |
+ = /* @noEscape */ $item->getQtyShipped()*1 ?> |
- getQtyRefunded()): ?>
+ getQtyRefunded()): ?>
- = /* @escapeNotVerified */ __('Refunded') ?> |
- = /* @escapeNotVerified */ $_item->getQtyRefunded()*1 ?> |
+ = $block->escapeHtml(__('Refunded')); ?> |
+ = /* @noEscape */ $item->getQtyRefunded()*1 ?> |
- getQtyCanceled()): ?>
+ getQtyCanceled()): ?>
- = /* @escapeNotVerified */ __('Canceled') ?> |
- = /* @escapeNotVerified */ $_item->getQtyCanceled()*1 ?> |
+ = $block->escapeHtml(__('Canceled')); ?> |
+ = /* @noEscape */ $item->getQtyCanceled()*1 ?> |