View Single Post
Old 12-06-2013, 03:18 AM   #196
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by kovidgoyal View Post
@Hitch: Again, the only time HTML is automatically corrected is if you run one of the automated tools, like smarten punctuation or Fix HTML or rename files and so on. This has to be done, because the automated tools have to be able to parse and modify the HTML, which means auto-fixing it.

If all you do is open an html file, edit it, click save, the only automated change that happens is conversion of HTML entities to their unicode characters. The HTML itself is not touched. Therefore, if you want to make sure that no automated changes happen, simply ensure all your HTML is parseable XML before running any automated tool.

Finally, there will be an error check tool that will tell you about unparseable XML in the book, along with other useful (as opposed to the junk produced by epubcheck) errors.
Thank you, Kovid.

That clarification is quite useful. We primarily use Sigil as a "finishing" tool; the vast bulk of our XHTML is written in NoteTabPro, and quality-checked there prior to exporting it into Sigil, so that's good to know. I appreciate you taking the time to reply to me.

Hitch
Hitch is offline