Skip to content
This repository has been archived by the owner on Oct 25, 2021. It is now read-only.

Allowing empty paragraphs #189

Open
snowwlex opened this issue Jul 30, 2012 · 3 comments
Open

Allowing empty paragraphs #189

snowwlex opened this issue Jul 30, 2012 · 3 comments

Comments

@snowwlex
Copy link

from http://old.fbreader.org/mantis/view.php?id=56

Some texts use empty paragraphs to denote scene changes (for exemple). Fbreader strips those, which results in some very confusing reading.

Stripped paragraphs can be newlines in plain text files, or a
&nbsp

sequence in HTML files (or inherited formats).

I seem to remember that Fbreader allowed those empty paragraphs until recent versions (I could be wrong). If this change is voluntary (not a regression), it would be nice to have a configurable option on a per-book basis: "Allow empty paragraphs in this book" or "Empty paragraphs are treated as blank dividers of n points of height", or something like this.

@snowwlex
Copy link
Author

also from http://old.fbreader.org/mantis/view.php?id=79

rwhe: I must agree that scene changes, etc. are baffling when the blank spaces inserted by the author are stripped by FBReader.

franklekens: I entirely agree this is not a minor issue, but one of the major bugs in this software. Few novels I know don't use blank lines (and blank lines only, e.g. no asterisks) to separate scenes or other separate sections within chapters. It's a basic feature of text lay-out.

@alexkasko
Copy link

Hacky patch against 1.7.8-ics to enable empty lines and disable plain text reflow is here. Patched APK binary: FBReaderJ-1.7.8-ics-noreflow.apk. Tested only on this plaintext book (it has now exactly the same representation in fbreader as in browser) something may become broken in other formats.

@ghost
Copy link

ghost commented Jan 28, 2018

Is there any specific reason why this is still not fixed? @geometer any chance this will be addressed some time soon?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants