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

Article and Highlight template note variable breaks template with complex text #176

Open
mbaker3 opened this issue Jan 24, 2024 · 1 comment

Comments

@mbaker3
Copy link

mbaker3 commented Jan 24, 2024

Importing an article with a note or highlight note, containing bullet points and/or : characters causes the template to fail at the invalid character.

For example, if you're importing an article with the following note it will fail after the :. Not sure if it's the colon character or the bullet point that breaks the import.

Some text 

And other thoughts:
 - Thought 1
 - Thought 2

Some more text. 

Expected Result

The importer should be able to get all text written in Omnivore's note fields even if all of the formatting characters cannot be successfully brought through to logseq.

@mbaker3 mbaker3 changed the title Article template note variable breaks template with complex text Article and Highlight template note variable breaks template with complex text Jan 24, 2024
@mbaker3
Copy link
Author

mbaker3 commented Jan 24, 2024

As a temporary workaround, in your template, you can put your notes in a codeblock (```) to make sure all of the content makes it through into logseq.

Ex:

## {{{title}}}
{{#note}}
```
{{{note}}}
```
{{/note}}

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

1 participant