Upgraded the html purifier