Fix retarded mistake in 57997, move break to within the if block or it defeats the...
authorChad Horohoe <demon@users.mediawiki.org>
Thu, 22 Oct 2009 22:01:14 +0000 (22:01 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Thu, 22 Oct 2009 22:01:14 +0000 (22:01 +0000)
includes/parser/Parser.php

index f1d8fcd..e398a85 100644 (file)
@@ -3285,9 +3285,9 @@ class Parser
                                        if ( $this->mOptions->getUseTeX() ) {
                                                $output = $wgContLang->armourMath(
                                                        MathRenderer::renderMath( $content, $attributes ) );
+                                                       break;
                                        }
                                        /* else let a tag hook handle it (bug 21222) */ 
-                                       break;
                                case 'gallery':
                                        $output = $this->renderImageGallery( $content, $attributes );
                                        break;