Fixed bug that strips too many attributes when sanitizing html