You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As mentioned in #134, the HTML parser will strip exactly one leading newline off of any <textarea> tag.
The HTML5 serializer does nothing to mitigate this. This means Ammonia isn't idempotent, and, if you use Ammonia to sanitize a form, it can wind up changing the form's contents.
The text was updated successfully, but these errors were encountered:
As mentioned in #134, the HTML parser will strip exactly one leading newline off of any
<textarea>
tag.The HTML5 serializer does nothing to mitigate this. This means Ammonia isn't idempotent, and, if you use Ammonia to sanitize a form, it can wind up changing the form's contents.
The text was updated successfully, but these errors were encountered: