From e8d09daa6d65f74cf35369826eb7ab367f54102a Mon Sep 17 00:00:00 2001 From: Domas Mituzas Date: Mon, 23 Jan 2006 22:32:44 +0000 Subject: [PATCH] ergh, yet more direct parser bits, ask for tidy when post-edit saving to parser cache --- includes/Article.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/Article.php b/includes/Article.php index e05fb8923e..582183f444 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -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 -- 2.20.1