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

Error updating note with empty list item #186

Open
ghost opened this issue Jul 20, 2017 · 1 comment
Open

Error updating note with empty list item #186

ghost opened this issue Jul 20, 2017 · 1 comment

Comments

@ghost
Copy link

ghost commented Jul 20, 2017

This is a great plugin and I use it every day! However, sometimes I get this error message:

Evernote complained:

The contents of the note are not valid.
The element type "li" must be terminated by the matching end-tag "".

Retry?

This can happen in two situations: (1) a note is saved (2) a note is closed & saved to Evernote. In the first case, nothing will happen - the note is still present in ST. In the second case, the entire note will get lost if not previously saved to Evernote.

The note in the attachment creates this error. The problem is the empty list item with the "-" (minus) sign.

note with list that causes trouble.txt

@bordaigorl
Copy link
Owner

I do not have time to investigate at the moment but it seems yet another ugly corner case of the markdown converter used by the plugin.
A migration to a better one is planned but unless I get some help it is unlikely to happen very soon.
You may need to remember to avoid empty list items for now.
If I find an easy fix I'll let you know and publish it in the next release.
Thanks for the report.

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

No branches or pull requests

1 participant