View Single Post
Old 08-08-2014, 01:26 PM   #4
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
Quote:
Originally Posted by DaleDe View Post
br should certainly allow both lines to be centered. I use it for headings to allow the TOC to have the whole chapter title while having the title split on two lines.

Dale
yes, I though that was how it should work, though I can't find an actual "rule" in print. So its a bug in the otherwise excellent moon + reader app. Just when I'd convinced myself that it was going to replace Kobo as my preferred android reader.
I looked for any discussion area on this site for that moon reader app but there is no obvious one

What you described is how it has been used in the example book I gave - the TOC for that book does have both header lines in its entries.
So long as I don't regenerate the toc though, my code edits which removed the <br> will be OK

shame, as I'd just convinced myself that that was the best epub reader for android
I'm now wondering how many of my books will be affected, and what the easiest way to tweak them will be. or if I can get used to ignoring it.

One other idea, which was hinted at in some page that google found me, is to "style" the br tag in CSS - can that be done ? maybe if that had an explicit "inherit" attribute then the reader might render it differently, and it would be much easier to add CSS to problem books than to have to run tricky regex.
cybmole is offline   Reply With Quote