X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2FSanitizer.php;h=ed09701d4bf714181d35663b34da2967f4e18755;hp=b6b7922615a8e0ec21045e53cb02e4459f664a9e;hb=89539f2aa1b158fdcc703ad053e2580cb97a6385;hpb=d5a7166771613dfe4ed9fb75fa5efeced6134bd1 diff --git a/includes/Sanitizer.php b/includes/Sanitizer.php index b6b7922615..ed09701d4b 100644 --- a/includes/Sanitizer.php +++ b/includes/Sanitizer.php @@ -1677,7 +1677,10 @@ class Sanitizer { $text = preg_replace_callback( self::CHAR_REFS_REGEX, [ 'Sanitizer', 'decodeCharReferencesCallback' ], - $text, /* limit */ -1, $count ); + $text, + -1, //limit + $count + ); if ( $count ) { return $wgContLang->normalize( $text );