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

fix: note links note being replaced correctly when keepEvernoteLinkIfNoNoteFound = true (#653) #656

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bumper314
Copy link
Contributor

Addresses #653

The original regexes were greedy, which would wipe out many links on the same line, but also the resulting link still contains the original Evernote link, it wasn't getting replaced at all. I updated the intermediate <YARLE_EVERNOTE_LINK> format to contain the original note id to guarantee a correct match, then replace the link format appropriately.

…NoNoteFound = true (akosbalasko#653)

The original regexes were greedy, which would wipe out many links on the same line,
but also the resulting link still contains the original Evernote link, it wasn't getting replaced at all.
I updated the intermediate <YARLE_EVERNOTE_LINK> format to contain the original note id
to guarantee a correct match, then replace the link format approariately.
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.

1 participant