Skip to content

Commit 4459e34

Browse files
committed
ACP2E-1602: [Issue] Fixed the welcome message contains single quote character
1 parent 519809e commit 4459e34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Theme/Block/Html/Header.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,6 @@ public function getWelcome()
5858
);
5959
}
6060
$this->_data['welcome'] = $this->escaper->escapeQuote($this->_data['welcome'], true);
61-
return __($this->_data['welcome']);
61+
return addslashes(__($this->_data['welcome']));
6262
}
6363
}

0 commit comments

Comments
 (0)