From 1bdddfa6089b56718716876f695a3b5c681b362b Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Thu, 1 Jun 2006 08:31:12 +0000 Subject: [PATCH] Regression with funny spellings of --- includes/Parser.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ) ); -- 2.20.1