logoalt Hacker News

whycomeyesterday at 4:23 PM2 repliesview on HN

It always seems like any animated svg loses all of the animation after sanitizing


Replies

RobotToastertoday at 6:31 AM

A lot of SVG animation uses JS for some reason. It would be interesting to see if sanitisers strip CSS and SMIL animation, I don't see any security reasons to do so.

bawolffyesterday at 7:24 PM

There are 3 different methods of animating svgs so it probably depends.