mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-24 23:46:39 +00:00
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() !== '' ) {
|
||||
$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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue