-
Notifications
You must be signed in to change notification settings - Fork 799
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
Not able to save id attribute - keeps getting deleted #613
Comments
It's happening because for default we remove all attributes from HTML tags to avoid XSS attacks. Maybe we can make it optional. |
Is there any chance of a workaround? |
+1 for this enhancement |
Is it possible to escape the note content? So that any content can be safely included? Github is a good example of this. |
Any updates on this enhancement? Would love to have this made optional (since I use laverna offline anyway...) |
+1 for this enhancement please.... |
+1 for a fix/workaround for this is there any way this can be added as an optional toggle, maybe with some warning to [online] users that upon toggling the option they are vulnerable to XSS attacks, and that the risk lies solely on them? similar to @currentcolor i am logging all my notes/best practices in Laverna and this is a pretty significant sticking point. |
+1 for the fix or enhancement!! I 'm also affected. Literally every element with '<' and '>' get deleted |
Hi @atlasloewenherz @holdcands @spreered @sjbuysse @mattpalermo @draran @currentcolor @habitus Unfortunately, this issue will never be fixed here. Have a nice day/night. Cheers! |
for example, if I type this sample code:
<p id="top"><a href=https://www.google.com>Link</a></p>
When i hit 'Save', this is what is getting saved down:
<p><a href="http://www.google.com">Link</a></p><p></p>
The id="top" text is not getting saved, and also an addition
<p></p>
tags are getting added in.Please help to fix this.
Thanks!
The text was updated successfully, but these errors were encountered: