Physikerwelt has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/274166

Change subject: Prevent modification of math markup after output
......................................................................

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.

Change-Id: Idaabd835f04de6133824ce8db53e590af91b626c
---
M Math.hooks.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Math 
refs/changes/66/274166/1

diff --git a/Math.hooks.php b/Math.hooks.php
index 8b250e3..5e7054f 100644
--- a/Math.hooks.php
+++ b/Math.hooks.php
@@ -201,7 +201,7 @@
                        self::$tags[$marker] = array( $renderer, $parser );
                        return $marker;
                }
-               return self::mathPostTagHook( $renderer, $parser );
+               return array( self::mathPostTagHook( $renderer, $parser ), 
'markerType' => 'nowiki' );
        }
 
        /**

-- 
To view, visit https://gerrit.wikimedia.org/r/274166
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Idaabd835f04de6133824ce8db53e590af91b626c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Math
Gerrit-Branch: master
Gerrit-Owner: Physikerwelt <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to