geometer / FBReaderJ

Official FBReaderJ project repository
http://www.fbreader.org/FBReaderJ/
1.83k stars 802 forks source link

`<p>&#160;</p>` should be retained as a blank line #472

Open ghost opened 6 years ago

ghost commented 6 years ago

<p>&#160;</p> should be retained as a blank line. Here is a more in-depth explanation why: http://teleread.com/how-epubs-readers-disagree-when-non-breaking-spaces-break-standards/

Right now, FBReader on android doesn't seem to do this, making affected EPUB files which use this as scene breaks unreadable.

Edit: changed from &nbsp; to &#160; for XHTML conform variant

ghost commented 6 years ago

Okay, I just tried <hr> with padding and set to visibility:hidden and it doesn't work either.

Is there any reasonable way to get a blank line in FBReader which is not with padding on the previous paragraph (since that again might be ignored by other readers)?