includes/wikiengine/Tables.php
changeset 24 9ecc94c4c7f5
parent 21 663fcf528726
child 73 0a74676a2f2f
--- 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];