Remove outdated comment.

This commit is contained in:
Jim Miller
2015-06-30 22:44:06 -05:00
parent ce2476d3a8
commit a84c5dea19
-4
View File
@@ -661,10 +661,6 @@ div { margin: 0pt; padding: 0pt; }
# as one line. This causes problems for nook(at
# least) when the chapter size starts getting big
# (200k+)
#fullhtml = fullhtml.replace('</p>','</p>\n').replace('<br />','<br />\n')
# The replaces above added tons of extra newlines
# during *each* epub update. The regexp version adds
# only one and removes any extra.
fullhtml = re.sub(r'(</p>|<br ?/>)\n*',r'\1\n',fullhtml)
outputepub.writestr("OEBPS/file%04d.xhtml"%(index+1),fullhtml.encode('utf-8'))