From b3043bac5c9ed911d682677315a41de670bdfd6a Mon Sep 17 00:00:00 2001 From: "Mr. E23" Date: Mon, 5 Jan 2004 00:52:07 +0000 Subject: [PATCH] Updated fix for bug 869949 'Lists inside tables' as suggested by TomK32 --- includes/OutputPage.php | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 25c0fd63c7..7c5c927527 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -709,18 +709,19 @@ $t[] = "" ; $text = preg_replace( "/(^|\n)-----*/", "\\1
", $text ); $text = str_replace ( "
", "
", $text ); - $text = $this->doAllQuotes( $text ); - $text = $this->doHeadings( $text ); - $text = $this->doTableStuff ( $text ) ; - $text = $this->doBlockLevels( $text, $linestart ); - - if($wgUseDynamicDates) { - global $wgDateFormatter; - $text = $wgDateFormatter->reformat( $wgUser->getOption("date"), $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->replaceExternalLinks( $text ); - $text = $this->replaceInternalLinks ( $text ); + $text = $this->doTableStuff ( $text ) ; + $text = $this->doBlockLevels( $text, $linestart ); $text = $this->magicISBN( $text ); $text = $this->magicRFC( $text ); -- 2.20.1