From c54d39a81166b3e194178c0e8cd4377d6f4c7145 Mon Sep 17 00:00:00 2001 From: "Mr. E23" Date: Mon, 5 Jan 2004 01:14:14 +0000 Subject: [PATCH] Last fix was broken, reverting to last edit by brion --- includes/OutputPage.php | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 7c5c927527..5dd58a629d 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -709,19 +709,18 @@ $t[] = "" ; $text = preg_replace( "/(^|\n)-----*/", "\\1
", $text ); $text = str_replace ( "
", "
", $text ); - $text = $this->doAllQuotes( $text ); - $text = $this->doHeadings( $text ); - - if($wgUseDynamicDates) { - global $wgDateFormatter; - $text = $wgDateFormatter->reformat( $wgUser->getOption("date"), $text ); - } - - $text = $this->replaceExternalLinks( $text ); - $text = $this->replaceInternalLinks ( $text ); + $text = $this->doAllQuotes( $text ); + $text = $this->doHeadings( $text ); + $text = $this->doBlockLevels( $text, $linestart ); + + if($wgUseDynamicDates) { + global $wgDateFormatter; + $text = $wgDateFormatter->reformat( $wgUser->getOption("date"), $text ); + } - $text = $this->doTableStuff ( $text ) ; - $text = $this->doBlockLevels( $text, $linestart ); + $text = $this->replaceExternalLinks( $text ); + $text = $this->replaceInternalLinks ( $text ); + $text = $this->doTableStuff ( $text ) ; $text = $this->magicISBN( $text ); $text = $this->magicRFC( $text ); -- 2.20.1