-
Notifications
You must be signed in to change notification settings - Fork 103
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 #184
Comments
It would be extremely helpful if you could produce a small note that triggers the same unwanted behaviour so I can debug it. |
@bordaigorl First of all, thank you for this amazing plugin. I've been using it for years, and I <3 it! I have a repro of the problem reported here and also in #207. I turned This fails, please see this screenshot: This is a note that was created in Evernote and contains a "code block" that was created using Evernote's relatively-new "code block" feature: The code-block is probably adding the offending divs. Here are the corresponding ST console logs:
Would be grateful if you could look into this. Thank you! |
@nonbeing Wow thanks a lot for looking into this, this is super helpful. |
@kimaldis I created a PR that adds support for the new codeblocks. |
I pull a note from Evernote to Sublime using search then immediately update it and I get the error below. The note contained divs when it arrived in sublime so obviously div is allowed somehow. I suspect it's because the contents of the note were pasted from a web page. Also, I'm using the experimental back tick code blocks in the note. This feature seems to add divs to the note
Any thoughts on how to deal with this?
_Evernote complained:
The contents of the note are not valid.
The inline HTML tag 'div' is not allowed in Evernote notes._
The text was updated successfully, but these errors were encountered: