Looks like #959 is now fixed, but I'm seeing another regression when trying to bump LaTeXML. I think it's in d18cdad..fd566f1 somewhere.
It's a problem with sample2e.tex, a test document that is bundled with LaTeX. It's quite hard to explain, but quite obvious if you just render it and view the DOM. Basically, Section 2 is embedded inside the last paragraph of section 1. Some of the stuff in that last paragraph is also messed up (like the footnote, which should be in its own paragraph), which I think it is causing it to mess up everything following that.
Here is a screenshot of the DOM which shows the problem more clearly:

Ref arxiv-vanity/engrafo#292 (As an aside: our tests have HTML snapshotting. I have committed the broken output so you can see the diff of the HTML if you expand the large diff in the github UI.)
Looks like #959 is now fixed, but I'm seeing another regression when trying to bump LaTeXML. I think it's in d18cdad..fd566f1 somewhere.
It's a problem with sample2e.tex, a test document that is bundled with LaTeX. It's quite hard to explain, but quite obvious if you just render it and view the DOM. Basically, Section 2 is embedded inside the last paragraph of section 1. Some of the stuff in that last paragraph is also messed up (like the footnote, which should be in its own paragraph), which I think it is causing it to mess up everything following that.
Here is a screenshot of the DOM which shows the problem more clearly:
Ref arxiv-vanity/engrafo#292 (As an aside: our tests have HTML snapshotting. I have committed the broken output so you can see the diff of the HTML if you expand the large diff in the github UI.)