Before starting to work on epub I prefer to clean HTML to basic tags without any styling.
Step 1 is to open epub in Calibre editor, delete all css files, go to Remove unused css rules tool
Step 2 is Custom cleaner plus in Sigil for the rest of bookmarks, ids...
From Sigil you can export (x)html to editor of your choice or continue working in Sigil editor.
|