It would be great to still use some kind of validation here.   why dont you use the new X-Generator from metatag ?