We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 122eedf + bf23b28 commit d74f383Copy full SHA for d74f383
2 files changed
ts/input/tex/ParseUtil.ts
@@ -549,7 +549,7 @@ namespace ParseUtil {
549
options.addNode(n.kind, n);
550
const lists = (n.getProperty('in-lists') as string || '').split(/,/);
551
for (const list of lists) {
552
- options.addNode(list, n);
+ list && options.addNode(list, n);
553
}
554
});
555
return tree;
ts/input/tex/empheq/EmpheqUtil.ts
@@ -152,7 +152,7 @@ export const EmpheqUtil = {
152
for (const row of table.childNodes.slice(0).reverse()) {
153
mtd = parser.create('node', 'mtd');
154
row.childNodes.unshift(mtd);
155
- row.replaceChild(mtd, mtd); // make sure parent is set
+ mtd.parent = row;
156
if (row.isKind('mlabeledtr')) {
157
row.childNodes[0] = row.childNodes[1];
158
row.childNodes[1] = mtd;
0 commit comments