23andMe / Yamale

A schema and validator for YAML.
MIT License
680 stars 89 forks source link

HEL-356: add basic HTML tag validator #68

Closed 23andJim closed 5 years ago

23andJim commented 5 years ago

I'm going to guess I'm not the first person who's been using Yamale and tried to do this.

The point is not to validate that all HTML is completely semantically valid, that all attributes are present, and so forth, but to allow the YAML schema author to whitelist HTML tags that are allowed in a simple string field, and to check that they open and close themselves correctly.