johnfactotum / foliate

Read e-books in style
https://johnfactotum.github.io/foliate/
GNU General Public License v3.0
5.93k stars 273 forks source link

Exported annotations (to HTML) do not include highlighted images #1152

Open distefam opened 8 months ago

distefam commented 8 months ago

Describe the bug When I export annotations to html they do not include images.

To Reproduce Steps to reproduce the behavior:

  1. Select export annotations from menu
  2. Select HTML as export format
  3. Observe that only a single flat html file is exported, sans images

Expected behavior The exported html is in a single flat HTML file. If images are present, the export would have to be a folder with an html file and the images, which are referenced locally.

Version:

Additional context Add any other context about the problem here.

johnfactotum commented 8 months ago

The problem isn't really images. Currently it doesn't export the highlighted text as HTML at all.