ergh, yet more direct parser bits, ask for tidy when post-edit saving to parser cache
authorDomas Mituzas <midom@users.mediawiki.org>
Mon, 23 Jan 2006 22:32:44 +0000 (22:32 +0000)
committerDomas Mituzas <midom@users.mediawiki.org>
Mon, 23 Jan 2006 22:32:44 +0000 (22:32 +0000)
includes/Article.php

index e05fb89..582183f 100644 (file)
@@ -2170,6 +2170,7 @@ class Article {
 
                # Parse the text
                $options = new ParserOptions;
+                $options->setTidy(true);
                $poutput = $wgParser->parse( $text, $this->mTitle, $options, true, true, $newid );
 
                # Save it to the parser cache