real version for HTMLPurifier package