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

Template tags result in dot underscore at end #507

Closed
boardtc opened this issue Aug 29, 2023 Discussed in #504 · 3 comments
Closed

Template tags result in dot underscore at end #507

boardtc opened this issue Aug 29, 2023 Discussed in #504 · 3 comments
Labels
bug Something isn't working

Comments

@boardtc
Copy link

boardtc commented Aug 29, 2023

Discussed in #504

Originally posted by boardtc August 28, 2023
is there somewhere that explains templates?

On my test .enex conversions I used the default:

{created-at-block}Created at: {created-at}._{end-created-at-block}
{source-url-block}Source URL: []({source-url})._{end-source-url-block}

which results in

Created at: 2020-11-19._
Last updated at: 2020-11-19._

What's the idea of the ._ in between the tag elements resulting in them being at the end like this? They don't look good and look like a bug. I know I can edit the template but I am trying to find out why there are included in the template first?

@boardtc boardtc changed the title Template tagsresult in dot underscore at end Template tags result in dot underscore at end Aug 29, 2023
@boardtc
Copy link
Author

boardtc commented Aug 30, 2023

I tried the Importer plugin for Obsidian and it imports .enex well and ads .md automatically. But it does not add this really good meta data though the saved file names correspond to last updated,

@akosbalasko
Copy link
Owner

Hi @boardtc ,
Thank you for reporting this issue!
It's a kinda bug in the default template, no reason to put it there. Just remove it from your template, while I create and release a fix.
Cheers,
akos

@akosbalasko akosbalasko added the bug Something isn't working label Aug 31, 2023
@akosbalasko
Copy link
Owner

released in 5.5.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants