From 634e1dc6c60ec0fee08e42a715f07ae1b4db69a1 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Sat, 28 Feb 2004 02:09:41 +0000 Subject: [PATCH] lost linestart --- includes/OutputPage.php | 2 +- includes/Parser.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"; -- 2.20.1