From: Brion Vibber Date: Thu, 1 Jun 2006 08:31:12 +0000 (+0000) Subject: Regression with funny spellings of X-Git-Tag: 1.31.0-rc.0~56934 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=1bdddfa6089b56718716876f695a3b5c681b362b;p=lhc%2Fweb%2Fwiklou.git Regression with funny spellings of --- diff --git a/includes/Parser.php b/includes/Parser.php index 9ff3e8517a..bc08e4da89 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -441,7 +441,8 @@ class Parser $content = strtr( $content, $commentState ); } if( $render ) { - switch( $element ) { + $tagName = strtolower( $element ); + switch( $tagName ) { case 'html': if( $wgRawHtml ) { $output = $content; @@ -463,7 +464,6 @@ class Parser $output = $this->renderImageGallery( $content ); break; default: - $tagName = strtolower( $element ); if( isset( $this->mTagHooks[$tagName] ) ) { $output = call_user_func_array( $this->mTagHooks[$tagName], array( $content, $params, $this ) );