←back to thread

An SVG is all you need

(jon.recoil.org)
258 points sadiq | 1 comments | | HN request time: 0.001s | source
Show context
orliesaurus ◴[] No.46237453[source]
My day job involves building dashboards, and SVGs have been invaluable for crisp icons and graphs... the portability across sizes is a blessing, but some of the more exotic filter effects still fail in certain browsers.

ALSO I've run into security reviews that flag inline SVGs because they can embed scripts... would love to see more tooling to lint and sanitize them before deployment.

BUT seeing a two-decade-old vector still render correctly gives me confidence that the core spec is solid.

replies(3): >>46238060 #>>46238343 #>>46238845 #
1. e12e ◴[] No.46238845[source]
> would love to see more tooling to lint and sanitize them before deployment

Did you see?:

https://github.com/cloudflare/svg-hush