Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support DomPurify on Node #206

Merged
merged 1 commit into from
Oct 10, 2023
Merged

Support DomPurify on Node #206

merged 1 commit into from
Oct 10, 2023

Conversation

eatyourgreens
Copy link
Contributor

Use isomorphic-dompurify to sanitise HTML in Node and in browsers, since dompurify requires a window global.

Closes #205.

Use `isomorphic-dompurify` to sanitise HTML in Node and in browsers, since `dompurify` requires a `window` global.
@eatyourgreens eatyourgreens merged commit bcd070d into master Oct 10, 2023
3 checks passed
@eatyourgreens eatyourgreens deleted the ssr-dompurify branch October 10, 2023 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

markdownz errors in Node and returns raw markdown
1 participant