dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25e285f
)
Regression with funny spellings of <matH>
author
Brion Vibber
<brion@users.mediawiki.org>
Thu, 1 Jun 2006 08:31:12 +0000
(08:31 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Thu, 1 Jun 2006 08:31:12 +0000
(08:31 +0000)
includes/Parser.php
patch
|
blob
|
history
diff --git
a/includes/Parser.php
b/includes/Parser.php
index
9ff3e85
..
bc08e4d
100644
(file)
--- 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 ) );