View Single Post
Old 08-13-2013, 09:17 AM   #35
Bob Houston
Junior Member
Bob Houston knows what time it isBob Houston knows what time it isBob Houston knows what time it isBob Houston knows what time it isBob Houston knows what time it isBob Houston knows what time it isBob Houston knows what time it isBob Houston knows what time it isBob Houston knows what time it isBob Houston knows what time it isBob Houston knows what time it is
 
Bob Houston's Avatar
 
Posts: 8
Karma: 2062
Join Date: Aug 2011
Location: Queens, NYC
Device: Kindle
Quote:
Originally Posted by Jellby View Post
I meant that adding a DOCTYPE when there was none to start with might be incorrect (whether or not flightcrew and/or epubcheck complain about it is a different matter).
After a reread, I did get your point that you thought that adding a DOCTYPE might be incorrect.

Isn't it added though, every time an epub is cleaned by Sigil?

Quote:
Originally Posted by Jellby View Post
You mean that a document with   and no DOCTYPE passed epubcheck? That sort of agrees with the second part of my message: a DOCTYPE might be unneeded.
For clarification, I inserted the DOCTYPE into a new test epub before sending it to Sigil. Because (as mentioned by others) the DOCTYPE was already there, the cleaning process did not error-out and the &nbsp were inserted correctly. That cleaned epub is what passed flightcrew and EpubCheck.

I'm still thinking that if DOCTYPE could be checked for first (If at all possible) at the start of the cleaning process, everything that followed would work like DOCTYPE had always been there. I realize it's easier said than done!
Bob Houston is offline   Reply With Quote