summaryrefslogtreecommitdiff
path: root/includes/parser/CoreTagHooks.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/parser/CoreTagHooks.php')
-rw-r--r--includes/parser/CoreTagHooks.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/includes/parser/CoreTagHooks.php b/includes/parser/CoreTagHooks.php
index 7cc8260e..33f3c824 100644
--- a/includes/parser/CoreTagHooks.php
+++ b/includes/parser/CoreTagHooks.php
@@ -1,5 +1,14 @@
<?php
+/**
+ * Tag hooks provided by MediaWiki core
+ *
+ * @file
+ */
+/**
+ * Various tag hooks, registered in Parser::firstCallInit()
+ * @ingroup Parser
+ */
class CoreTagHooks {
static function register( $parser ) {
global $wgRawHtml, $wgUseTeX;
@@ -40,7 +49,7 @@ class CoreTagHooks {
static function math( $content, $attributes, $parser ) {
global $wgContLang;
- return $wgContLang->armourMath( MathRenderer::renderMath( $content, $attributes ) );
+ return $wgContLang->armourMath( MathRenderer::renderMath( $content, $attributes, $parser->getOptions() ) );
}
static function gallery( $content, $attributes, $parser ) {