Originally Posted by veole
What's the problem with using Calibre to convert from mobi to eupub, edit the epub file, and then to use Calibre to convert it again to mobi?
Why is better to decompile the mobi file and edit raw html?
It's not better to decompile the Mobi and edit the raw HTML file. It is better to use ePub as the source. But given that it's a Mobi file, you may have some work to do to clean up the source before you make your edits. Some Mobi can have very sloppy code and it translates into sloppy code for the ePub.