microcosm-cc / bluemonday

bluemonday: a fast golang HTML sanitizer (inspired by the OWASP Java HTML Sanitizer) to scrub user generated content of XSS
https://github.com/microcosm-cc/bluemonday
BSD 3-Clause "New" or "Revised" License
3.14k stars 176 forks source link

allow data attributes #67

Closed buddhamagnet closed 6 years ago

buddhamagnet commented 6 years ago

We have the same issue at The Economist flagged in https://github.com/microcosm-cc/bluemonday/issues/65 where we want to allow all data attributes. This is my starter for ten.