-
Notifications
You must be signed in to change notification settings - Fork 21
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
updating html sanitization method to dompurify #172
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @sqs who wrote this code originally. I see in the biome justification that the html values are not from users, so this may be unnecessary?
Your CI failures are super weird, its almost like the github workflow's code changed for npm and is now broken. I think to sort it out we should try bumping the versions of the workflows used. |
Gonna see if this fixes the problem #174 |
d5f20d2
to
265c5ec
Compare
Our standard way of sanitizing HTML is using dompurify. we want to stay consistent across our code for that and this update changes over the sanitization to dompurify.