Creating new instance of HTMLPurifier for each purification to avoid multi-threading problems in MakeWellFormed