Skip to content

Commit 0cc6283

Browse files
committed
Fix combining of mo elements so that properties don't become attributes
1 parent 115a7be commit 0cc6283

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

ts/input/tex/FilterUtil.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,9 @@ namespace FilterUtil {
110110
// This treatment means we might loose some inheritance structure, but
111111
// no properties.
112112
_copyExplicit(['stretchy', 'rspace'], mo, m2);
113-
NodeUtil.setProperties(mo, m2.getAllProperties());
113+
for (const name of m2.getPropertyNames()) {
114+
mo.setProperty(name, m2.getProperty(name));
115+
}
114116
children.splice(next, 1);
115117
remove.push(m2);
116118
m2.parent = null;

0 commit comments

Comments
 (0)