From: Tim Starling Date: Sat, 28 Feb 2004 02:09:41 +0000 (+0000) Subject: lost linestart X-Git-Tag: 1.3.0beta1~930 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=634e1dc6c60ec0fee08e42a715f07ae1b4db69a1;p=lhc%2Fweb%2Fwiklou.git lost linestart --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 54dcad2259..d0e3efacf0 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -151,7 +151,7 @@ class OutputPage { } if ( $parserOutput === false ) { - $parserOutput = $wgParser->parse( $text ); + $parserOutput = $wgParser->parse( $text, $linestart ); if ( $cacheArticle ) { $wgParserCache->save( $parserOutput, $cacheArticle, $wgUser ); } diff --git a/includes/Parser.php b/includes/Parser.php index e7cae43f8f..61d893cfdf 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -26,7 +26,7 @@ class Parser # # Returns a ParserOutput # - function parse( $text, $clearState = true ) + function parse( $text, $linestart = true, $clearState = true ) { global $wgUseTeX; $fname = "Parser::parse";