Initial manuscript state issue
This was fixed in !802 (merged), but a more wide-ranging fix should be implemented.
The basic problem: when we get a manuscript from XSweet, it's in XSweet-flavored HTML. If you go to the production editor page and immediately export to JATS/PDF/HTML, this initial HTML is used, which can give misleading results. If a change is made in Wax, the manuscript is saved as Wax-flavored HTML – at that point, we no longer have a problem.
This issue would also come into play if we were exporting it without going through the production page (via GraphQL or something else). What should happen is that at the end of the XSweet import process, it is turned into Wax-flavored HTML so that there's never the potential for confusion.