View Single Post
Old 01-18-2021, 07:58 AM   #1
Red_AM
Junior Member
Red_AM began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Feb 2019
Device: Android
[PDF to EPUB] Remove dots on every page break?

Hi! So after I've converted a book from PDF to EPUB it worked perfectly except for the fact that there are dots on every page break

example:
Code:
page 1 ends
.
.
.
.
page 2 starts
I clicked on edit to see what the code looks like and found it looks like this:
Code:
<p class="calibre1"><a id="p8"></a><img src="index-8_1.png" class="calibre2"/></p>
<p class="calibre1"><img src="index-8_2.png" class="calibre2"/></p>
<p class="calibre1"><img src="index-8_3.png" class="calibre2"/></p>
<p class="calibre1"><img src="index-8_4.png" class="calibre2"/></p>
So I'm assuming the conversion decided to keep the image files from the pdf that were included with each page break. There are some images in the book that I would like to keep and found that the images from the page breaks are each 100 bytes.

Is there a quick way I could search and delete all of these page break images and lines of code?

Maybe something like:
if a line starts with
Code:
<p class="calibre1"><a id="p
delete that whole line and the 3 lines under it.

if that's possible?
Red_AM is offline   Reply With Quote