Fix case of Html class
Gives fatal when using $wgAutoloadAttemptLowercase = false Change-Id: I00069b8b875c5f6c768835a8e072e9eed2541314
This commit is contained in:
parent
605624e759
commit
a810052038
|
@ -436,7 +436,7 @@ class MathMathML extends MathRenderer {
|
||||||
if ( $this->getID() !== '' ) {
|
if ( $this->getID() !== '' ) {
|
||||||
$attribs['id'] = $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.
|
// 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
|
// Remove displayStyle attributes set by the MathML converter
|
||||||
// (Beginning from Mathoid 0.2.5 block is the default layout.)
|
// (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;'
|
'class' => $this->getClassName(), 'style' => 'display: none;'
|
||||||
), $mml );
|
), $mml );
|
||||||
$output .= $this->getFallbackImage();
|
$output .= $this->getFallbackImage();
|
||||||
$output .= HTML::closeElement( $element );
|
$output .= Html::closeElement( $element );
|
||||||
return $output;
|
return $output;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue