cure53 / DOMPurify

DOMPurify - a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMPurify works with a secure default, but offers a lot of configurability and hooks. Demo:
https://cure53.de/purify
Other
13.97k stars 723 forks source link

sanitize is not a function on SSR #824

Closed JirkaBures closed 1 year ago

JirkaBures commented 1 year ago

is this library meant to be used on SSR environments?

image

cure53 commented 1 year ago

Yep, did you try those?

https://github.com/cure53/DOMPurify#running-dompurify-on-the-server

JirkaBures commented 1 year ago

Thank you for the link !, will look into that later. Lets close the issue then :)