Fixes a bug in HTMLPurifier initialization