View Single Post
Old 06-06-2014, 06:24 PM   #127
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,988
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Attached is a test version that uses .toprettyxml(indent=' '...) instead of just .toxml() for the content.opf and toc.ncx files.

I honestly don't see the existing output as problem--it's a machine written file for machines to read. But I'm willing to change to pretty print output as long as it doesn't break machine readability.

I don't remember the details, but I do have some past evidence that pretty printed XML was a problem at one time.

Last edited by JimmXinu; 07-22-2014 at 11:41 PM. Reason: Remove obsolete beta versions
JimmXinu is offline   Reply With Quote