gjtorikian / html-pipeline

HTML processing filters and utilities
MIT License
2.27k stars 380 forks source link

Feature request: add safe semantic HTML tags to default whitelist #312

Closed aviflax closed 1 year ago

aviflax commented 5 years ago

Including, but not necessarily limited to:

and maybe nav?

I don’t know if I need to make the case for the value and safety of these tags? Personally I just really ❤️ semantic markup, it makes my :neckbeard: self happy. But if anyone asks “why” I’ll dig up some good links to make the case.

Thanks!

gjtorikian commented 1 year ago

A new (beta) release of HTML-Proofer has been released, v3.0.0.pre1. I tried to go back and address all the issues in this repo. For this specific issue, I've opted to keep the sanitization process the same. However, downstream consumers can easily make any change they want to the sanitization process; see the updated README for more information.