microcosm-cc / bluemonday

bluemonday: a fast golang HTML sanitizer (inspired by the OWASP Java HTML Sanitizer) to scrub user generated content of XSS

Home Page:https://github.com/microcosm-cc/bluemonday

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add crossorigin

nim4 opened this issue · comments

Hi David,

Would you accept a PR which adds option to force crossorigin="anonymous" (https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/crossorigin) on audio, img, link, script, and video elements?