From a81005203861cf8589f941399d3fae458f936743 Mon Sep 17 00:00:00 2001 From: Umherirrender Date: Mon, 8 Feb 2016 18:35:49 +0100 Subject: [PATCH] Fix case of Html class Gives fatal when using $wgAutoloadAttemptLowercase = false Change-Id: I00069b8b875c5f6c768835a8e072e9eed2541314 --- MathMathML.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MathMathML.php b/MathMathML.php index d3fcec6..27acbf0 100644 --- a/MathMathML.php +++ b/MathMathML.php @@ -436,7 +436,7 @@ class MathMathML extends MathRenderer { if ( $this->getID() !== '' ) { $attribs['id'] = $this->getID(); } - $output = HTML::openElement( $element, $attribs ); + $output = Html::openElement( $element, $attribs ); // MathML has to be wrapped into a div or span in order to be able to hide it. // Remove displayStyle attributes set by the MathML converter // (Beginning from Mathoid 0.2.5 block is the default layout.) @@ -450,7 +450,7 @@ class MathMathML extends MathRenderer { 'class' => $this->getClassName(), 'style' => 'display: none;' ), $mml ); $output .= $this->getFallbackImage(); - $output .= HTML::closeElement( $element ); + $output .= Html::closeElement( $element ); return $output; }