We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e442de5 + d93173d commit b4afec8Copy full SHA for b4afec8
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