Ticket #549 (new bug)

Opened 2 years ago

Last modified 2 years ago

Attached HTML file is incorrectly displayed by FBReader

Reported by: cloggy Owned by: lunohod
Priority: normal Milestone: 0.3
Component: FBreader Version: post-0.1 snapshot
Keywords: file-problem Cc:
Blocked By: Blocking:

Description

An HTML file in a ZIP archive is incorrectly displayed: One big section within each chapter, no paragraphs, etc.

Attachments

book.html Download (532.3 KB) - added by cloggy 2 years ago.
ticket549.pdf Download (437.8 KB) - added by cloggy 2 years ago.
07 - Black Friday - Alex Kava.zip Download (176.0 KB) - added by cloggy 2 years ago.

Change History

Changed 2 years ago by cloggy

comment:1 Changed 2 years ago by dottedmag

  • Summary changed from HTML files in ZIP archives are incorrectly displayed by FBReader to Attached HTML file is incorrectly displayed by FBReader

Summary corrected

Changed 2 years ago by cloggy

comment:2 Changed 2 years ago by cloggy

As the import.exe description on the WiKi page is not working for me in Windows, I decided to make a real "screencopy" using our photocopier machine in the office. I've attached it as tick549.pdf. The left sample is how the ePUB file is displayed. the right sample is how the ZIP file is displayed. As you can see, HTML rendering is incorrect.

comment:3 Changed 2 years ago by cloggy

Sorry, forgot to mention: 1) Firmware: Snapshot 20091003 2) Device: Hanlin v3ext.

comment:4 Changed 2 years ago by lunohod

I've zipped that book.html file and it works just fine. Please, attach your ZIP file.

Changed 2 years ago by cloggy

comment:5 Changed 2 years ago by cloggy

The original ZIP file has been uploaded as requested.

comment:6 Changed 2 years ago by lunohod

It will work if you rename it to "07 - Black Friday - Alex Kava.epub".

comment:7 Changed 2 years ago by dottedmag

So we need to improve our mimetype-detector. Luckily ePUB has the signature embedded at the beginning of .zip file.

comment:8 Changed 2 years ago by dottedmag

  • Keywords file-problem added
  • Milestone changed from bluesky to 0.3
Note: See TracTickets for help on using tickets.