Don't inject stuff into the text #13

Closed
opened 6 months ago by tastytea · 1 comments
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 6 months ago
Poster
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.
tastytea closed this issue 6 months ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.