From 4af9d673346d558b47bd113c5ca20dd61e33b8cb Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sat, 12 Sep 2026 23:11:45 -0400 Subject: epub, html: reference issues fixes - _part_eof.xhtml was declared in the manifest and never written. - image_sys/bullet_09.png was referenced as a background image, a throwback to the Ruby version of sisu, never used here. (assisted by Claude-Code) --- src/sisudoc/outputs/io_out/epub3.d | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/sisudoc/outputs/io_out/epub3.d') diff --git a/src/sisudoc/outputs/io_out/epub3.d b/src/sisudoc/outputs/io_out/epub3.d index 1c08bab..b606e7a 100644 --- a/src/sisudoc/outputs/io_out/epub3.d +++ b/src/sisudoc/outputs/io_out/epub3.d @@ -565,6 +565,10 @@ template outputEPub3() { is not listed again. +/ if (obj.metainfo.is_a == "heading" + /+ ↓ "tail" is the end of document marker, and no file is written for it (the + writing loop skips the section), so it is not in the manifest either. + +/ + && section != "tail" && obj.metainfo.heading_lev_markup <= 4 && obj.tags.segment_anchor_tag_epub.length > 0 && !(obj.tags.segment_anchor_tag_epub in _segment_files_seen) -- cgit v1.2.3