Revert Util\Strings::escapeHtml changes from #7725

- Breaks display of inserted mentions
This commit is contained in:
Hypolite Petovan 2019-10-11 22:19:20 -04:00 committed by GitHub
parent bfcae2f79a
commit 2c2beb5c0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
}
/**