macmillanpublishers / bookmaker

Macmillan's Bookmaker tool
ISC License
27 stars 2 forks source link

Epigraph preceded by bpi is missing in output #204

Closed mattretzer closed 6 years ago

mattretzer commented 6 years ago

With this test file, styled two ways: https://www.dropbox.com/s/ckxq5efx1s74195/DarkAlphasAwakeningforFinalFINAL.docx?dl=0 https://www.dropbox.com/s/5razcc1be4h5zdr/DarkAlphasAwakeningforFinalFINAL_edit.docx?dl=0

Issue is with wordtohtml.xsl, when a new set of container styles are wrapped in container (epigraph, box, etc), if the container styles are directly preceded by a versatile paragraph, those paragraphs are lost. Additionally, when a container is created via this xsl, versatile paragraphs that are wrapped in the container appear again after the container in output.

mattretzer commented 6 years ago

Resolved via Xslpatch epigraph #205