v1.26.4

gildas-lormeau/SingleFilev1.26.4Sep 23, 2026by gildas-lormeau

Upgrading?

AI Summary

Updates the single-file-core library to version 1.6.11 to fix a critical regression that prevented web pages with nested links from being saved. The update corrects the logic used to repair invalid HTML nesting to ensure elements are restored in the correct order.

Key Highlights

  • Updated single-file-core to version 1.6.11
  • Fixed HierarchyRequestError for pages with nested links
  • Resolved a regression introduced in version 1.6.10
  • Corrected element restoration order to prevent invalid nesting

Full Release Notes

### Fixes

- single-file-core updated to 1.6.11, which fixes a regression of 1.6.10: a page holding a link nested in a link, such as a Substack home page, failed to save with `HierarchyRequestError` ("The new child is an ancestor of the parent" in Firefox). The positions of the elements repaired for invalid nesting were restored in reverse document order, which could insert an element into its own descendant; they are now restored ancestors first

Related Repositories