It always seems like any animated svg loses all of the animation after sanitizing
There are 3 different methods of animating svgs so it probably depends.