Skip to content

Commit 9ab911f

Browse files
authored
Merge pull request #1524 from mathjax/issue3587
Handle in-line breaks in a math node that is an embellished operator in SVG output. (mathjax/MathJax#3587)
2 parents aa26ce0 + 0039114 commit 9ab911f

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)