Open EskelCz opened 1 month ago
Thanks for opening this Issue!
New hook function option with DOMPurify object as argument is available in v1.3.0. This function will be executed before sanitize. Please check if this solves your problem. See universal-sanitizer README for a detailed usage example.
Hi, thanks for a great tool.
I've run into an issue I don't know how to solve. I need to allow youtube embeds (iframe, but only from youtube.com), which doesn't seem to be solvable only through DOMPurify options object. I think I need hooks. Is there a way to use them through
svelte-sanitize
?Thanks