Fixed error in HTMLPurifier