File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -552,8 +552,9 @@ export class MmlMo extends AbstractMmlTokenNode {
552552 this . getProperty ( 'mathaccent' ) !== undefined ||
553553 ! parent ||
554554 ! parent . isKind ( 'munderover' )
555- )
555+ ) {
556556 return ;
557+ }
557558 const [ base , under , over ] = parent . childNodes ;
558559 if ( base . isEmbellished && base . coreMO ( ) === this ) return ;
559560 const isUnder = ! ! ( under && under . isEmbellished && under . coreMO ( ) === this ) ;
Original file line number Diff line number Diff line change @@ -636,7 +636,7 @@ export class ChtmlFontData extends FontData<
636636 if ( options . oc ) {
637637 styles [ selector + '[noic]' ] = { 'padding-right' : this . em ( data [ 2 ] ) } ;
638638 }
639- this . checkCombiningChar ( options , styles [ selector ] ) ;
639+ this . checkCombiningChar ( options , styles [ selector ] as StyleJsonData ) ;
640640 }
641641
642642 /**
@@ -656,6 +656,10 @@ export class ChtmlFontData extends FontData<
656656 pad . pop ( ) ;
657657 }
658658 css . padding = pad . join ( ' ' ) ;
659+ if ( css . width === '0' && options . dx ) {
660+ css . width = this . em ( 2 * options . dx ) ;
661+ css [ 'margin-left' ] = '-' + css . width ;
662+ }
659663 }
660664
661665 /***********************************************************************/
You can’t perform that action at this time.
0 commit comments