Skip to content

Commit 997b259

Browse files
committed
Replaced @escapeNotVerified annotations
1 parent f0ac15f commit 997b259

File tree

1 file changed

+5
-3
lines changed
  • app/code/Magento/Sales/view/adminhtml/templates/items/column

1 file changed

+5
-3
lines changed

app/code/Magento/Sales/view/adminhtml/templates/items/column/name.phtml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,14 @@
3131
<?= $block->escapeHtml($block->getCustomizedOptionValue($_option)) ?>
3232
<?php else: ?>
3333
<?php $_option = $block->getFormattedOption($_option['value']); ?>
34-
<?php $dots = 'dots' . uniqid(); ?>
35-
<?= $block->escapeHtml($_option['value']) ?><?php if (isset($_option['remainder']) && $_option['remainder']): ?> <span id="<?= /* @noEscape */ $dots; ?>"> ...</span>
34+
<?= $block->escapeHtml($_option['value']) ?>
35+
<?php if (isset($_option['remainder']) && $_option['remainder']): ?>
36+
<?php $dots = 'dots' . uniqid(); ?>
37+
<span id="<?= /* @noEscape */ $dots; ?>"> ...</span>
3638
<?php $id = 'id' . uniqid(); ?>
3739
<span id="<?= /* @noEscape */ $id; ?>"><?= $block->escapeHtml($_option['remainder']) ?></span>
3840
<script>
39-
require(['prototype'], function() {
41+
require(['prototype'], function(){
4042
$('<?= /* @noEscape */ $id; ?>').hide();
4143
$('<?= /* @noEscape */ $id; ?>').up().observe('mouseover', function(){$('<?= /* @noEscape */ $id; ?>').show();});
4244
$('<?= /* @noEscape */ $id; ?>').up().observe('mouseover', function(){$('<?= /* @noEscape */ $dots; ?>').hide();});

0 commit comments

Comments
 (0)