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

Export EPUB: <br> missing on every exported EPUB #777

Open
5 tasks done
Palloxin opened this issue Sep 8, 2023 · 1 comment
Open
5 tasks done

Export EPUB: <br> missing on every exported EPUB #777

Palloxin opened this issue Sep 8, 2023 · 1 comment
Labels
Bug Something isn't working Export EPUB

Comments

@Palloxin
Copy link
Contributor

Palloxin commented Sep 8, 2023

Steps to reproduce

  1. go to Panda Machine translations
  2. search Into the Creations and download chapter 1
  3. export the novel (so only chap 1) with js included(because i did so and i dont want to test if it appears when i dont include JS)
  4. check with an editor the extracted html of chap 1 (of the epub, see images below)

Expected behavior

IMG_20230908_153910

(This a simple screenshot from Lnreader reader of the chapter so i expect the epub to be reproduced the same as in Lnreader, aesthetically)

Actual behavior

IMG_20230908_160117

(Into an epub3 reader)

Looking into the html file u can see this
IMG_20230908_155549
(so it is not the JS fault)
Whatever there was there in the chapter when using lnreader, it is not present in the extracted epub.

EDIT: every <br> is missing

LNReader version

1.1.16

Android version

Android 8 miui 8

Device

Huawei p8 lite 2017

Other details

No js applied in the text of the image in Expected Behaviour.

Acknowledgements

  • I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
  • I have written a short but informative title.
  • If this is an issue with a source, I should be opening an issue in the sources repository.
  • I have updated the app to version 1.1.17.
  • I will fill out all of the requested information in this form.
@Palloxin Palloxin added the Bug Something isn't working label Sep 8, 2023
@Palloxin Palloxin changed the title Export EPUB: exported chapters not properly reconstructed Export EPUB: <br> missing on every exported EPUB Nov 24, 2023
@KrisadaFantasy
Copy link

KrisadaFantasy commented Feb 29, 2024

Not just missing on exported EPUB, but probably in imported as well!

I made the EPUB file myself in Calibre and imported it to the app. Found that LNReader is not rendered <br/> properly so I come here to see if there's an existing issue. At first I just thought that the app has issue on rendering HTML or something similar, but @Palloxin screenshot show the downloaded text rendered <br/> correctly. So the issue is something remove <br/> during import/export EPUB process?

Edit: I edit comment because GitHub actually line break <br/> in the comment that I forgot to marked as code...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Export EPUB
Projects
None yet
Development

No branches or pull requests

3 participants