Move tidy callbacks from the Parser class to a new Tidy class. This is to keep
[lhc/web/wiklou.git] / maintenance / parserTests.inc
index ddf8b89..d0a5f6f 100644 (file)
@@ -783,7 +783,7 @@ class ParserTest {
        private function tidy( $text ) {
                global $wgUseTidy;
                if ($wgUseTidy) {
-                       $text = Parser::tidy($text);
+                       $text = Tidy::RunOn($text);
                }
                return $text;
        }