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

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.

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