Illustration paragraphs should be wrapped in a figure. This should happen in htmltohtmlbook.js. There are multiple pieces to this: you'll need to select any of the illustration paragraphs (caption, illustration holder, source), and wrap them in a figure container, and then convert the actual illustration holder to an img tag containing the image filename. The figure parent will also need a unique id that must be the first attribute in the element. For example:
Illustration paragraphs should be wrapped in a figure. This should happen in htmltohtmlbook.js. There are multiple pieces to this: you'll need to select any of the illustration paragraphs (caption, illustration holder, source), and wrap them in a figure container, and then convert the actual illustration holder to an img tag containing the image filename. The figure parent will also need a unique id that must be the first attribute in the element. For example:
See the following locations in the XSL for the old handling:
https://github.com/macmillanpublishers/bookmaker/blob/master/core/htmlmaker/wordtohtml.xsl#L148 https://github.com/macmillanpublishers/bookmaker/blob/master/core/htmlmaker/wordtohtml.xsl#L563