From: Mr. E23 Date: Mon, 5 Jan 2004 00:52:07 +0000 (+0000) Subject: Updated fix for bug 869949 'Lists inside tables' as suggested by TomK32 X-Git-Tag: 1.3.0beta1~1198 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=b3043bac5c9ed911d682677315a41de670bdfd6a;p=lhc%2Fweb%2Fwiklou.git Updated fix for bug 869949 'Lists inside tables' as suggested by TomK32 --- 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 );