Revert Util\Strings::escapeHtml changes from #7725
- Breaks display of inserted mentions
This commit is contained in:
parent
bfcae2f79a
commit
2c2beb5c0a
|
@ -68,7 +68,7 @@ class Strings
|
|||
*/
|
||||
public static function escapeHtml($string)
|
||||
{
|
||||
return htmlentities($string, ENT_QUOTES | ENT_HTML5, 'UTF-8', false);
|
||||
return htmlspecialchars($string, ENT_COMPAT, 'UTF-8', false);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue