From 8113aa03c0eb6f8765387f5f539127cf617affc1 Mon Sep 17 00:00:00 2001 From: physikerwelt Date: Tue, 1 Mar 2016 19:34:37 +0100 Subject: [PATCH] Prevent modification of math markup after output In the early rendering phase the output of the math extension should not be treated as wiki markup. Bug: T129032 Change-Id: Idaabd835f04de6133824ce8db53e590af91b626c --- Math.hooks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Math.hooks.php b/Math.hooks.php index 6327a9c1c..57f75bf09 100644 --- a/Math.hooks.php +++ b/Math.hooks.php @@ -201,7 +201,7 @@ class MathHooks { self::$tags[$marker] = array( $renderer, $parser ); return $marker; } - return self::mathPostTagHook( $renderer, $parser ); + return array( self::mathPostTagHook( $renderer, $parser ), 'markerType' => 'nowiki' ); } /**