akosbalasko/yarle

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

bumper314 opened this issue · 1 comments

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

Fixed in v6.5.2