Merge "Generate HTML tag using HTML class"

This commit is contained in:
jenkins-bot 2018-04-24 21:14:50 +00:00 committed by Gerrit Code Review
commit 5fef05a7f3
2 changed files with 2 additions and 2 deletions

View File

@ -415,7 +415,7 @@ class MathMathML extends MathRenderer {
$attribs['class'] = $class;
}
return Xml::element( 'img', $this->getAttributes( 'span', $attribs, [
return Html::element( 'img', $this->getAttributes( 'span', $attribs, [
'aria-hidden' => 'true',
'style' => $this->mathoidStyle,
'alt' => $this->tex

View File

@ -41,7 +41,7 @@ class MathSource extends MathRenderer {
} else {
$class = 'mwe-math-fallback-source-inline';
}
return Xml::element( 'span',
return Html::element( 'span',
$this->getAttributes(
'span',
[