cloudflare / cloudflare/workerd

isomorphic-dompurify fails when used in CF workers.

Open
#5,752 2 comments 0 reactions 1 assignee Claimed by @anonrig View on GitHub
Dominant language
C++
Stars
8.7k
Forks
739
Avg merge
2d 20h
Merged PRs (30d)
174

Description

Reported this on Twitter and @anonrig requested to create an issue.

Calling `cleanHtml` in any part of your app fails with the error in the second screenshot

![G8yQlwvakAAE4EV.jpeg](https://github.com/user-attachments/assets/a6d548e7-eb2e-4752-ab4d-0ec0c2e5b4e6)

![G8yQhLfbgAAROmP.jpeg](https://github.com/user-attachments/assets/5226f65c-28c5-4adf-b10c-986fadc71f64)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.