Files
OpenMAIC/packages/mathml2omml
a3f88d53e5 fix(mathml2omml): call includes() instead of indexing it (#681)
parse.js used `textContainerNames.includes[arr[level].name]`, which reads a
property of the includes function (always undefined) instead of calling it,
so the "trailing text node" branch never ran and trailing text inside a
MathML text container (mtext/mi/mn/mo/ms) was dropped from the OMML. Line 48
of the same file already uses the correct `includes(...)` form.

dist/ is gitignored and rebuilt by postinstall, so the runtime bundle picks
up the fix on install.

Closes #680

Co-authored-by: ly-wang19 <ly-wang19@users.noreply.github.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: wyuc <wang-yc24@mails.tsinghua.edu.cn>
2026-06-30 04:50:07 -04:00
..