akosbalasko / yarle

Yarle - The ultimate converter of Evernote notes to Markdown
https://github.com/akosbalasko/yarle
MIT License
1.4k stars 82 forks source link

Evernote GUID and Note Link template placeholders not being replaced if output format is LogSeqMD #586

Closed bumper314 closed 7 months ago

bumper314 commented 7 months ago

Related to #487

The {evernoteguid} and {evernotelink} template placeholders are not being properly replaced in apply-links.ts when the outputFormat is selected as LogSeqMD.

The issue is in apply-links.ts#L73 when the if statement checks notebookFolder.endsWith(notebookName), because folder-utils.ts#L148 changes the path to end in "journal" or "pages" instead of the notebookname, if the output format is LogSeqMD.

I tested the other output formats and they are fine, just LogSeqMD.

Here is a zip of the config, sample .enex, and output for LogSeqMD and Heptibase for comparison: YARLE_LogSeqMD_GUID_Link_Replacement_Issue.zip

akosbalasko commented 7 months ago

Fixed in v6.5.2