Praxxian / lava-flow

A Foundry VTT module that allows you to import your notes from Obsidian MD into Foundry journal entries.
MIT License
68 stars 11 forks source link

"Custom link name" in link references break linking on import #15

Closed MisterIXI closed 2 years ago

MisterIXI commented 2 years ago

When using custom link names in obsidian (e.g. [[mdFile|customname]]) the recognition for linking breaks.
Meaning this:

[[Ritual]]  
[[Ritual|test]]  

gets imported as

@JournalEntry[pIF5BcBvcIDhvI1x]{Ritual}
[[Ritual|test]]

The best solution would be to store the custom name for use as a name in Foundry. Alternatively everything after the pipe could be ignored.

I will see if I can fix this myself and submit a PR. Should be a fairly simple thing to fix/add.

iamthetot commented 2 years ago

Also having this issue. Was looking forward to using this importer, but this alone is unfortunately a deal-breaker. Will be eagerly watching for a fix!

Praxxian commented 2 years ago

Sorry all for the delay. Had some family stuff happen. I understand the issue. I will check this out.

Praxxian commented 2 years ago

This should be fixed in v1.1.2. Thanks for your feedback!