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

Extra New Lines in template output #30

Closed
ProbablePrime opened this issue Mar 18, 2021 · 3 comments
Closed

Extra New Lines in template output #30

ProbablePrime opened this issue Mar 18, 2021 · 3 comments

Comments

@ProbablePrime
Copy link

The current template parsing logic appears to add extra, unwanted new lines to the output.

You can see this occurring here: https://i.probableprime.co.uk/210318-4RbgHzo5XwaEwNOmfw9R.mp4

I had a look through the code and it appears too man \n's are being added: https://github.com/mrjackphil/obsidian-text-expand/blob/master/main.ts#L116-L126

In the highlighed lines, each item is first formatted with an added \n and then the resultant array is joined with \n.

@mrjackphil
Copy link
Owner

It seems I overlooked this one. Will fix this as soon as will be available.

@mrjackphil
Copy link
Owner

Should be fixed in the 0.7.3 plugin release.

@denchuku
Copy link

denchuku commented Apr 5, 2021

Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants