From: Chad Horohoe Date: Thu, 22 Oct 2009 22:01:14 +0000 (+0000) Subject: Fix retarded mistake in 57997, move break to within the if block or it defeats the... X-Git-Tag: 1.31.0-rc.0~39164 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=ffe23ad69f244723926c755086993c9fa37b2144;p=lhc%2Fweb%2Fwiklou.git Fix retarded mistake in 57997, move break to within the if block or it defeats the entire purpose --- diff --git a/includes/parser/Parser.php b/includes/parser/Parser.php index f1d8fcda63..e398a8566c 100644 --- a/includes/parser/Parser.php +++ b/includes/parser/Parser.php @@ -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;