Skip to content

Commit b4afec8

Browse files
committed
Merge magento#11058 commit 'refs/pull/11058/head' of https://github.com/magento/magento2 into MAGETWO-80081-PR-11058
# Conflicts: # app/code/Magento/Swagger/view/frontend/web/swagger-ui/js/swagger-ui.js # dev/tests/static/testsuite/Magento/Test/Integrity/Magento/Backend/_files/controller_acl_test_whitelist_ce.txt
2 parents e442de5 + d93173d commit b4afec8

File tree

1 file changed

+1
-3
lines changed
  • app/code/Magento/Sales/Ui/Component/Listing/Column

1 file changed

+1
-3
lines changed

app/code/Magento/Sales/Ui/Component/Listing/Column/Address.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,7 @@ public function prepareDataSource(array $dataSource)
4949
{
5050
if (isset($dataSource['data']['items'])) {
5151
foreach ($dataSource['data']['items'] as & $item) {
52-
$item[$this->getData('name')] = $this->escaper->escapeHtml(
53-
str_replace("\n", '<br/>', $item[$this->getData('name')])
54-
);
52+
$item[$this->getData('name')] = nl2br($this->escaper->escapeHtml($item[$this->getData('name')]));
5553
}
5654
}
5755

0 commit comments

Comments
 (0)