gildas-lormeau / SingleFile

Web Extension for saving a faithful copy of a complete web page in a single HTML file
GNU Affero General Public License v3.0
14.29k stars 943 forks source link

Saving with Zip format (including SingleFileZ) fails to save some elements #1459

Closed onoter closed 1 month ago

onoter commented 1 month ago

Describe the bug Saving a certain webpage as zip format (or save it using SingleFileZ) will not save a png picture on the top. However, saving the same page with HTML format will correctly save the png picture.

To Reproduce Steps to reproduce the behavior:

  1. Save this page with default settings (HTML format).
  2. The page is correctly saved.
  3. Set Options -> File format -> format to self-extracting ZIP (universal)
  4. Save that page again. And you'll see the picture missing.

Screenshots

  1.   _2024-05-19_220005

  2. The picture is missing when saved as zip:

    missing

gildas-lormeau commented 1 month ago

Thank you for the detailed report. I was able to reproduce and fix the bug. The fix will be available in the next version.