Skip to content

Commit 02aabe9

Browse files
committed
AC-10528:Fix for Order Invoice Comment
1 parent 6144ebd commit 02aabe9

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/Sales/view/adminhtml/templates/order/comments

1 file changed

+2
-2
lines changed

app/code/Magento/Sales/view/adminhtml/templates/order/comments/view.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@
7070
<?php endif; ?>
7171
</span>
7272
<div class="note-list-comment">
73-
<?= /* @noEscape */ $escaper->escapeHtml(
73+
<?= /* @noEscape */ nl2br($escaper->escapeHtml(
7474
$_comment->getComment(),
7575
['b', 'br', 'strong', 'i', 'u', 'a']
76-
) ?>
76+
))?>
7777
</div>
7878
</li>
7979
<?php endforeach; ?>

0 commit comments

Comments
 (0)