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
SVGs are obviously quite handy due to their scalability and flexibility and as such it would be quite nice to have support for them as both the logo of an integration and within READMEs. The downside is that they're susceptible XSS and other unwanted behaviour and as such we'll want to sanitize them before we serve them.
DOMPurify is a great tool in the Javascript space but might not be feasible for this project
microcosm-cc/bluemonday seems like the most popular tool in the Go world, but it doesn't seem to support SVGs. The library does seem extensible enough where I think we could add support though.
The text was updated successfully, but these errors were encountered:
SVGs are obviously quite handy due to their scalability and flexibility and as such it would be quite nice to have support for them as both the logo of an integration and within READMEs. The downside is that they're susceptible XSS and other unwanted behaviour and as such we'll want to sanitize them before we serve them.
The text was updated successfully, but these errors were encountered: