Fix case of Html class

Gives fatal when using $wgAutoloadAttemptLowercase = false

Change-Id: I00069b8b875c5f6c768835a8e072e9eed2541314
This commit is contained in:
Umherirrender 2016-02-08 18:35:49 +01:00 committed by Physikerwelt
parent 605624e759
commit a810052038

View file

@ -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;
}