Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not edit raw sidecar when restoring to KOReader #52

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

harmtemolder
Copy link
Owner

As I mentioned in #28 (comment) I noticed that restoring highlights to my device broke the numbering. That was caused by a regex that removed quotes (") from the raw sidecar in calibre. This PR removes that line, and the one that replaces tabs with spaces.

@harmtemolder
Copy link
Owner Author

Sorry, my IDE "fixed" a lot of things in the code without my noticing. Rolled those back in the second commit

Copy link
Collaborator

@kyxap kyxap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, we should think to add some tests to the code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants