avoid warnings for unknown html attr during validation