View Single Post
Old 07-22-2014, 10:10 PM   #761
Rev. Bob
Wizard
Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.Rev. Bob ought to be getting tired of karma fortunes by now.
 
Rev. Bob's Avatar
 
Posts: 1,760
Karma: 9918418
Join Date: Feb 2013
Location: Here on the perimeter, there are no stars
Device: Kobo H2O, iPad mini 3, Kindle Touch
Quote:
Originally Posted by JSWolf View Post
I think there should be a disclaimer then that if you do use the span removal that you'll need a text editor for Windows such as Notepad++ that understands Linux line ends if you want to edit manually any of the text files.
No. If you can't figure out how to handle a UNIX-formatted text file, you shouldn't be manually tinkering with EPUBs at that nuts-and-bolts level anyway. Note that davidfor had little, if any, trouble with that issue.

Quote:
Originally Posted by davidfor View Post
Question: Should unpretty put an empty line between the tags? It doesn't between the body an first tag, but does after that.
It does that by design in certain cases, and it removes those empty lines in certain other cases. From memory, headers, paragraphs, and lists get a blank line after them. I wavered a bit on whether to treat DIV the same way, but decided not to, since it's also used in more generic ways. In addition, BR, BODY, DIV, and a few other tags get single line breaks after them.
Rev. Bob is offline   Reply With Quote