View Single Post
Old 05-20-2016, 09:49 PM   #3
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,878
Karma: 6120478
Join Date: Nov 2009
Device: many
The ncxgenerator.py generates your second example (which is what creates it from the Nav). Any time it is changed after initial creation the NCXWriter code which uses Qt QXmlStreamWriter with auto formatting set to true and default indent of 4 not 2. I can change ncxgenerator.py to match the indented head tag and change the QXmlStreamWriter to use indents of 2.

I'll try to get that into the next release when I get back home.
KevinH is offline   Reply With Quote