FBReader icon indicating copy to clipboard operation
FBReader copied to clipboard

Allowing empty paragraphs

Open snowwlex opened this issue 13 years ago • 3 comments

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 avatar Jul 30 '12 11:07 snowwlex

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.

snowwlex avatar Jul 30 '12 22:07 snowwlex

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.

alexkasko avatar Apr 07 '13 15:04 alexkasko

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

ghost avatar Jan 28 '18 03:01 ghost