Skip to content

Commit 0039114

Browse files
committed
Handle in-line breaks in a math node that is an embellished operator in SVG output. (mathjax/MathJax#3587)
1 parent aa26ce0 commit 0039114

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

ts/output/common.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,10 @@ export abstract class CommonOutputJax<
445445
if (linebreak) {
446446
this.getLinebreakWidth();
447447
}
448-
const makeBreaks = this.options.linebreaks.inline && !math.display;
448+
const makeBreaks =
449+
this.options.linebreaks.inline &&
450+
!math.display &&
451+
!math.root.isEmbellished;
449452
let inlineMarked = !!math.root.getProperty('inlineMarked');
450453
if (
451454
inlineMarked &&

0 commit comments

Comments
 (0)