diff -r 320acf077276 -r 9ecc94c4c7f5 includes/wikiengine/Tables.php --- a/includes/wikiengine/Tables.php Tue Jun 26 21:03:02 2007 -0400 +++ b/includes/wikiengine/Tables.php Tue Jun 26 21:49:46 2007 -0400 @@ -982,13 +982,13 @@ */ function decodeCharReferencesCallback( $matches ) { if( $matches[1] != '' ) { - return Sanitizer::decodeEntity( $matches[1] ); + return decodeEntity( $matches[1] ); } elseif( $matches[2] != '' ) { - return Sanitizer::decodeChar( intval( $matches[2] ) ); + return decodeChar( intval( $matches[2] ) ); } elseif( $matches[3] != '' ) { - return Sanitizer::decodeChar( hexdec( $matches[3] ) ); + return decodeChar( hexdec( $matches[3] ) ); } elseif( $matches[4] != '' ) { - return Sanitizer::decodeChar( hexdec( $matches[4] ) ); + return decodeChar( hexdec( $matches[4] ) ); } # Last case should be an ampersand by itself return $matches[0];