Hmmm… Strange.
Even after applying the patch, this is what it looks like after running the plugin
five times.
I can see that:
a) empty lines are added before the DOCTYPE, link and style tags
b) closing block tags have an unnecessary space before them (see e.g.
/head,
/tr,
/html)
c) there are no spaces before
thead,
tbody and
tfoot, but this is a minor issue as they can be added to the prettyprinter.pcss file
Another (aesthetic) issue arises when we first run Sigil’s Prettify function and then run the plugin. It then adds unnecessary spaces, resulting in this:
Code:
<td> sample text </td>