Closed mangs closed 2 years ago
Hi folks. Thanks for the useful tool. 😀
Current DOM sanitizer libraries can be fairly large. Happily, there's an upcoming standard being considered that does the same thing but is native to the browser. I'm hoping it comes to Deno and Node.js too.
You can read more about it here: https://developer.mozilla.org/en-US/docs/Web/API/HTML_Sanitizer_API
Would be great if you picked up support for this once at least one major browser engine gets stable support for it.
Here's an overview article too if it helps: https://blog.logrocket.com/what-you-need-know-inbuilt-browser-html-sanitization/
That's a great idea. I really like the Sanitizer API too.
Hi folks. Thanks for the useful tool. 😀
Current DOM sanitizer libraries can be fairly large. Happily, there's an upcoming standard being considered that does the same thing but is native to the browser. I'm hoping it comes to Deno and Node.js too.
You can read more about it here: https://developer.mozilla.org/en-US/docs/Web/API/HTML_Sanitizer_API
Would be great if you picked up support for this once at least one major browser engine gets stable support for it.