-
-
Notifications
You must be signed in to change notification settings - Fork 346
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
Notes don't get saved if they start with some html tags like <div>, <pre>, <p>, <span> #293
Comments
Hmm, that sounds related to #234, but if you are on 1.5.0 then this problem should be fixed. I couldn't directly reproduce this issue on latest |
Nice catch @bjorn! I noticed this as well when pasting html. Your suggestion solves this issue. I'll create a new issue for this. I can add the fix to the @ole-clausen Are you using the latest version (v1.5.0)? You can check by clicking on "Check for updates" in the dots menu. |
Hello @nuttyartist - yes, I'm using v1.5.0 installed from the windows edition on the website, the attached piece of text reproduces the issue at both my computers. Its just a few lines from an angular components html template.
|
@ole-clausen I just checked and @bjorn solution seems to fix this. I'll make sure to push this for v2.0.0. |
Yep... Can reproduce this as well. Not even closing the window but just selecting a different note. |
So recently I tried to save a few lines of html in Notes, only to later find out the note was empty - except for the headline: "<div" in the list of notes.
I am not sure if the problem is with html in general or not, as I found various tags where the error occurs - while the tag
<button>
it can still save perfectly wellThe text was updated successfully, but these errors were encountered: