From c431fc586921324327ffd5a1cf87d8775ca96f22 Mon Sep 17 00:00:00 2001 From: Admin Date: Sun, 1 Mar 2026 20:04:16 +0500 Subject: [PATCH] fix: use semantic nav/header elements to prevent iOS Reader Mode from including chapter navigation links in article content --- scraper/internal/server/ui.go | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/scraper/internal/server/ui.go b/scraper/internal/server/ui.go index 00d781a..ddba39f 100644 --- a/scraper/internal/server/ui.go +++ b/scraper/internal/server/ui.go @@ -1015,7 +1015,7 @@ func (s *Server) handleBookChaptersPage(w http.ResponseWriter, r *http.Request) const chapterTmpl = `
- -
+ + +
+

{{.Title}}

+
@@ -1093,7 +1097,7 @@ const chapterTmpl = ` {{.HTML}} - +