We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e77e2f commit 076b903Copy full SHA for 076b903
app/code/Magento/Sales/Ui/Component/Listing/Column/Address.php
@@ -49,9 +49,7 @@ public function prepareDataSource(array $dataSource)
49
{
50
if (isset($dataSource['data']['items'])) {
51
foreach ($dataSource['data']['items'] as & $item) {
52
- $item[$this->getData('name')] = $this->escaper->escapeHtml(
53
- str_replace("\n", '<br/>', $item[$this->getData('name')])
54
- );
+ $item[$this->getData('name')] = nl2br($this->escaper->escapeHtml($item[$this->getData('name')]));
55
}
56
57
0 commit comments