Support for `allowedAttributes` and other options used in `sanitize-html`
Hello,
I came across a case where I needed to allow special attributes and found out that only allowedTags is passed as option to sanitize-html.
I propose allowing passing any options to sanitize-html.
Thanks
@webmasterish Sorry, I don't use sbd for in the browser. Someone added the support for it with sanitize html, so I am not sure on all available options. If it's minor I am happy to include passing on options, if you want you can open a PR :)
(I might be slow to react)
Hey @Tessmore
Same here, only used server side. From what I recall it was minor or it would be quite simple to implement. Unfortunately I can't even remember what I did to resolve it, at least for the case I was working on. Wish I had the time to open a PR.
Thanks for getting back to me