Add a mode (optional?) which will enforce only epub-valid HTML being output.
This will require fairly aggressive stripping of tags and attributes, which could potentially break some content. The benefit will be, presumably, increased compatibility. Calibre copes well with converting utter garbage epubs, but readers being given the epubs directly may complain.
Add a mode (optional?) which will enforce only epub-valid HTML being output.
This will require fairly aggressive stripping of tags and attributes, which could potentially break some content. The benefit will be, presumably, increased compatibility. Calibre copes well with converting utter garbage epubs, but readers being given the epubs directly may complain.