mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-09-25 03:08:16 +00:00
Follow-up to r56296, replace htmlspecialchars_decode with html_entity_decode.
This commit is contained in:
parent
9dcc038e3e
commit
95f53efdfe
|
@ -1373,7 +1373,7 @@ class AbuseFilterParser {
|
|||
array( 'ccnorm', 1, count($args) ) );
|
||||
$s = $args[0]->toString();
|
||||
|
||||
$s = htmlspecialchars_decode($s);
|
||||
$s = html_entity_decode($s, ENT_QUOTES, 'UTF-8');
|
||||
$s = $this->ccnorm( $s );
|
||||
|
||||
return new AFPData( AFPData::DString, $s );
|
||||
|
|
Loading…
Reference in a new issue