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
This commit is contained in:
physikerwelt 2016-03-01 19:34:37 +01:00 committed by Physikerwelt
parent 0e63a6b695
commit 8113aa03c0

View File

@ -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' );
}
/**