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
1 changed files with 1 additions and 1 deletions

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