Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lists are formatted with a line break when viewed with FBReader #212

Open
slonopotamus opened this issue Dec 20, 2019 · 2 comments
Open
Labels

Comments

@slonopotamus
Copy link
Contributor

slonopotamus commented Dec 20, 2019

Please, see test project. I hope its README provides enough details, but just in case repeating them here:

I have a trivial chapter with a list:

[[_chapter1]]
= Chapter 1

* Uno
* Two
* Три
** We need to go deeper
* Lists are awesome

I use org.asciidoctor.jvm.epub Gradle plugin version 3.0.0-alpha.3 (this is the latest as of today) together with asciidoctorj-epub version 1.5.0-alpha.9 (this is the latest as of today)

Generated epub file for convenience.

I open given epub in FBReader 3.0.31 for Android (this is the latest version available via Google Play Market as of today).

Expected: list item text starts on the same line as list item marker

Actual: there’s a line break between list item marker and list item text.

Screenshot:

fbreader-screenshot

If I change <span class="principal"> to just <span> in OEBPS/_chapter1.xhtml inside epub file, then lists are rendered as expected.

@mojavelinux
Copy link
Member

mojavelinux commented Jan 20, 2020

Up to this point, I have not tested ebooks on FBReader because I consider it to be profoundly broken.

You'll learn very quickly that you have to draw lines or else you will drive yourself insane trying to get books to work. My rule is that if the EPUB3 spec supports it, then it's the reader application's concern to fix the problem, not Asciidoctor EPUB3.

@tkgregory
Copy link

FYI, this same behaviour is happening on Kindle Paperwhite 2022.

image

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

No branches or pull requests

3 participants