View Single Post
Old 08-05-2015, 08:23 AM   #478
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,999
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by MerlinMama View Post
I changed the Chapter Start custom output as you indicated, and it works fine, except that it removed the new line after </h3>. This is minor and I can probably fix it manually, but is there a way to fix that. Do I have to also add in the Chapter End part? Is there a specific code I have to put in for that? I tried adding one or two that I thought might work, but while it didn't work, it didn't affect it negatively either that I could see...
Whitespace is (mostly) irrelevant in (x)html. The presence or absence of a newline there shouldn't matter. (That said, sometimes it does matter due to poor (x)html parsers.)

Getting trailing newlines into custom output is a bit of a pain due to the INI file parser. There's a work around described on the CustomOutput wiki page. It should also work for epub.

You do not need to include the chapter_end just because you have chapter_start. Again, the details are on the wiki page.
JimmXinu is offline   Reply With Quote