mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-30 18:35:12 +00:00
Fix a glitch in rendering style arguments
* now renders the succeeding elements instead of the style-info itself * index in MMLTexUtilTest: 530 Bug: T331998 Change-Id: I0ad330157fa7687a2ad68a3d97b4c9cc942ea3ab
This commit is contained in:
parent
c0281a9237
commit
55068c5839
|
@ -165,7 +165,7 @@ class TexArray extends TexNode {
|
||||||
$mmlStyle = new MMLmstyle( "", $styleArguments );
|
$mmlStyle = new MMLmstyle( "", $styleArguments );
|
||||||
$fullRenderedArray .= $mmlStyle->getStart();
|
$fullRenderedArray .= $mmlStyle->getStart();
|
||||||
if ( $next instanceof Curly ) {
|
if ( $next instanceof Curly ) {
|
||||||
$fullRenderedArray .= $this->renderMMLwithColor( $currentColor, $current, $state, $arguments );
|
$fullRenderedArray .= $this->renderMMLwithColor( $currentColor, $next, $state, $arguments );
|
||||||
$fullRenderedArray .= $mmlStyle->getEnd();
|
$fullRenderedArray .= $mmlStyle->getEnd();
|
||||||
$mmlStyle = null;
|
$mmlStyle = null;
|
||||||
$i++;
|
$i++;
|
||||||
|
|
Loading…
Reference in a new issue