Closed mattretzer closed 7 years ago
Note: when testing to make sure element order mattered, I manually edited the js html to change the caption to a <figcaption>
element instead of a <p>
to make sure that wasn't the issue
This is in htmltohtmlbook.js.
➤ Matthew Retzer commented:
This PR resolves this issue: https://github.com/macmillanpublishers/htmlmaker_js/pull/65
➤ Matthew Retzer commented:
approved with minor edit request; edit made, merged
(Encountered when testing with our test manuscript)
There's a fullpage illustration near the end of Chapter 2 in our test manuscript. Here's how it's styled:
In the xsl html: the image is inserted before the caption within the figure block
In the js html, the caption is inserted before the img element. This is wreaking some havoc in the pdf output; I think the order matters here.