View Single Post
Old 07-08-2026, 12:31 PM   #10
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 53,058
Karma: 181147351
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
For removing the page numbers, try the following which I tested in Sigil:
Code:
<span aria-labelledby="pg.*?" epub:type="pagebreak" id="page_.*?" role="doc-pagebreak"></span><span hidden="hidden" id="pg.*?">.*?</span>
I used '.*?' to catch the non-numeric page numbers since my original '\d+' only caught the numeric pages. (pgii for instance).

Please note that running this will cause issues for the index since those page numbers are used there.

Also note that if I send the ebook as a kepub, I don't see the blank lines.

Last edited by DNSB; 07-08-2026 at 01:24 PM.
DNSB is offline   Reply With Quote