From 35eb4bbc049b7692513fdb0036ca1250c70a145c Mon Sep 17 00:00:00 2001 From: "Davide P. Cervone" Date: Sun, 26 Jan 2020 12:31:41 -0500 Subject: [PATCH] Make convert() handle unknown characters. Resolved issue #2309 --- ts/core/MathDocument.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/ts/core/MathDocument.ts b/ts/core/MathDocument.ts index 9f9a1376a..7e6316ccd 100644 --- a/ts/core/MathDocument.ts +++ b/ts/core/MathDocument.ts @@ -629,6 +629,7 @@ export abstract class AbstractMathDocument implements MathDocument (ijax.name === format ? ijax : jax), null); const mitem = new this.options.MathItem(math, jax, display); + mitem.start.node = this.adaptor.body(this.document); mitem.setMetrics(em, ex, containerWidth, lineWidth, scale); mitem.convert(this, end); return (mitem.typesetRoot || mitem.root);