Skip to content

Commit 568cc53

Browse files
ENGCOM-5580: Removed redundant whitespace from order options #23867
- Merge Pull Request #23867 from rickkuilman/magento2:2.3-develop - Merged commits: 1. bd5a1d2
2 parents 47d887e + bd5a1d2 commit 568cc53

File tree

1 file changed

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

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,8 @@
2828
<?php else : ?>
2929
<?php $_option = $block->getFormattedOption($_option['value']); ?>
3030
<?php $dots = 'dots' . uniqid(); ?>
31-
<?= $block->escapeHtml($_option['value'], ['a']) ?><?php if (isset($_option['remainder']) && $_option['remainder']) : ?> <span id="<?= /* @noEscape */ $dots; ?>"> ...</span>
32-
<?php $id = 'id' . uniqid(); ?>
33-
<span id="<?= /* @noEscape */ $id; ?>"><?= $block->escapeHtml($_option['remainder'], ['a']) ?></span>
31+
<?php $id = 'id' . uniqid(); ?>
32+
<?= $block->escapeHtml($_option['value'], ['a']) ?><?php if (isset($_option['remainder']) && $_option['remainder']) : ?><span id="<?= /* @noEscape */ $dots; ?>"> ...</span><span id="<?= /* @noEscape */ $id; ?>"><?= $block->escapeHtml($_option['remainder'], ['a']) ?></span>
3433
<script>
3534
require(['prototype'], function() {
3635
$('<?= /* @noEscape */ $id; ?>').hide();

0 commit comments

Comments
 (0)