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

Isomorphic Dompurify Remix support ? #214

Closed
JeromeTrottier opened this issue Aug 22, 2023 · 2 comments
Closed

Isomorphic Dompurify Remix support ? #214

JeromeTrottier opened this issue Aug 22, 2023 · 2 comments

Comments

@JeromeTrottier
Copy link

Hi! I'm trying to use isomorphic-dompurify to sanitize html in a remix application (more specifically hydrogen), but I keep having this error
Untitled-1

I could use the dompurify and sanitize on the client side, but would prefer if it would on the server too.

Has anyone looked into this?

@kkomelin
Copy link
Owner

Thanks @JeromeTrottier for reporting it here.

My guess is that it's more or less related to these issues #203 #54

@kkomelin
Copy link
Owner

kkomelin commented Dec 23, 2023

According to the error description, I can say that Remix is trying to use the browser entry point from package.json on server, which is incorrect, so it should be fixed on their side. Please report to them.

@kkomelin kkomelin closed this as not planned Won't fix, can't repro, duplicate, stale Dec 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants