View Single Post
Old 06-10-2021, 11:08 AM   #6002
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,979
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by Edifier View Post
I've run into a bug on royal road. Where spaces get eaten by the program when the space is italicized, the space alone. <em> </em>


It turns from that.

To this.

Tho I'm not sure if there would be an easy fix from my end. I don't know what I'm doing.
https://www.royalroad.com/fiction/16...-possibilities - link to the chapter of the story where I noticed it.
However looking at other stories, they don't have this fucked up formatting.
The author's HTML in that chapter is... sub-optimal. Apparently, their editor put <em> tags around individual words or phrases instead of blocks. Including just space sometimes.

By default, FFF automatically removes most empty (or whitespace only containing) tags. It keeps <p> <td> and <th> tags by default, by you can add to that list in personal.ini:

Code:
add_to_keep_empty_tags:,em
Whether you add it for just that story, that site, or for everything is up to you.
JimmXinu is offline   Reply With Quote