Comment by worldwidepaniel
1 month ago
Got mad at a electronics shop chain contradictory requirements, when preparing a product description html for my company's product. Built a very simple HTML linter.
As of now You can specify those validators on a tags of your choice:
- Run a regex against a attribute's value/text node
- Min/max length a attribute
- Make a attribute required/blacklist it
- Make a whitelist/blacklist of allowed values for a attribute
No comments yet
Contribute on Hacker News ↗