Commit 1d78d36
committed
fix(math): add MathRun to sliceRunsForLine so math renders in DomPainter
MathRun was silently dropped by sliceRunsForLine because it has no
`text` property. The `if (!('text' in run)) continue` guard filtered
it out before it could reach the renderer. Added an explicit
`run.kind === 'math'` case matching the existing image/tab/fieldAnnotation
pattern.
SD-23691 parent 54bb36a commit 1d78d36
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7490 | 7490 | | |
7491 | 7491 | | |
7492 | 7492 | | |
| 7493 | + | |
| 7494 | + | |
| 7495 | + | |
| 7496 | + | |
| 7497 | + | |
| 7498 | + | |
7493 | 7499 | | |
7494 | 7500 | | |
7495 | 7501 | | |
| |||
0 commit comments