View Single Post
Old 05-15-2025, 10:33 AM   #10754
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: 7,039
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by crimson View Post
Thanks for the response! Though, I cannot figure out how to force a line break after <p></p>. I've tried to add a new line with space in personal.ini, but it didn't work. Now the HTML text looks like a jumbled mess without line breaks.
The easiest way to add newlines to custom output is to make it multi-line in INI:
Code:
titlepage_entry:
 <b>${label}:</b> ${value}<br />
I don't know an easy way to get multiple empty newlines off hand.

Look at the newlines in txt for multiple empty newlines. Works the same in HTML.
Code:
# make sure to keep a single space on the line after this--it's
# one, empty newline for inclusion below.  Define in same section as entry.
newline:
 
# You can't see it, but there's a space on the line above.

titlepage_entry:
 <b>${label}:</b> ${value}<br />
 %(newline)s

Last edited by JimmXinu; 05-15-2025 at 10:41 AM.
JimmXinu is offline   Reply With Quote