akosbalasko / yarle

Yarle - The ultimate converter of Evernote notes to Markdown

Home Page:https://github.com/akosbalasko/yarle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

bumper314 opened this issue · 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