View Single Post
Old 10-05-2012, 12:52 PM   #91
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,636
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
@mmat1 - much of Sigil *depends* on well formed xml. You can't enter book view. You can't merge. You can't split. You can't reliably determine cursor location. You can't parse the html for various features that rely on it.

And worst of all *if* the user does not have Tidy turned completely off, it *will* screw up your document in it's attempt to help. Pretty Print will "guess" where closing tags should be or what tags to remove. Tidy will make an even bigger mess of your HTML. You will lose content, users complain when they notice. Just because you didn't notice any issue with turning the check off, doesn't mean that (a) an issue didn't happen, or (b) that you just happened to get exceptionally lucky.

Sigil is based on an assumption that your starting input ePub is valid - if it isn't your input can get corrupted before you even see it on screen. When you ask Sigil to save to disk, with at least Pretty Print on it will make sure what is saved is well formed. With the check throwing a message in your face you at least have a chance to make sure that it becomes valid as *you* want it to be, and not letting Sigil possibly make a meal of it.

So the option to turn it off is not coming back.
kiwidude is offline