Closed jtamary closed 6 years ago
I'm fine with what has been proposed but will make a couple of changes in the morning and then merge.
@buddhamagnet your PR is good, there's a few nits I'll change for which I'm going to leave a couple of comments, you don't have to worry about them if you don't want as I'm happy to do the finishing touches.
This will be merged in some form tomorrow :) Thanks to both of you.
@buro9 no hassles have made some improvements have a look. And no, thank YOU for this great library. BTW Arthur Ortega says hi.
Arthur pinged me on Twitter after I'd reviewed... I think he was wondering whether this is still the best sanitizer, it is :) Thanks for the contribution, it is much appreciated.
@buro9 also, happy to help maintain this library if you need extra hands!
Hey :)
In my use of the library I need to support arbitrary data attributes. However, I do not know which data attributes will be sent so I cannot whitelist them.
Can you please add support for arbitrary dataset attributes which will all start with "data-" For reference of data attributes you can refer to MDN They have no meaning for the browser only to pass data to certain elements.
Love to hear your thoughts
Thanks, Jonathan