Don't inject stuff into the text #13

Closed
opened 2021-06-06 16:33:56 +02:00 by tastytea · 1 comment
Owner

Right now we replace headlines with <H>headline</H> and page numbers with <PAGE 22>. It would be better to record the positions of headlines and pages and not inject anything. This way, headlines and page numbers would be accessible for --raw searches too.

Right now we replace headlines with `<H>headline</H>` and page numbers with `<PAGE 22>`. It would be better to record the positions of headlines and pages and not inject anything. This way, headlines and page numbers would be accessible for `--raw` searches too.
tastytea added the
enhancement
label 2021-06-06 16:33:56 +02:00
Author
Owner

In order to have page numbers and headlines with --raw, I would have to duplicate the code or make it far more complicated. I don't think it is worth the effort at the moment.

In order to have page numbers and headlines with `--raw`, I would have to duplicate the code or make it far more complicated. I don't think it is worth the effort at the moment.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: tastytea/epubgrep#13
No description provided.