Merge "Only pass stylearg state variable to base of dq elements"

This commit is contained in:
jenkins-bot 2024-02-13 10:35:23 +00:00 committed by Gerrit Code Review
commit cbc17c1e29

View file

@ -62,7 +62,7 @@ class DQ extends TexNode {
$mmlMrow = new MMLmrow();
return $outer->encapsulateRaw(
$emptyMrow .
$this->base->renderMML( $arguments, $state ) .
$this->base->renderMML( $arguments, [ 'styleargs' => $state['styleargs'] ?? [] ] ) .
$mmlMrow->encapsulateRaw( $this->down->renderMML( $arguments, $state ) ) );
}