Konstantin Komelin
Konstantin Komelin
@felixlublasser I created a simple component like this: ```astro --- import DOMPurify from 'isomorphic-dompurify'; --- {DOMPurify.sanitize(`Hello`)} ``` and included it into an Astro page like this: ```astro ``` In result,...
Added playgrounds for different frameworks, you may use the `frameworks/astro` package to try to reproduce your issue https://github.com/kkomelin/isomorphic-dompurify-playgrounds
Thanks @felixlublasser for helping with investigation. I've tried to enable cloudflare adapter in my playground and made the page "on-demand rendered" through `export const prerender = false` but couldn't reproduce...
Here is a possible answer from the console on `pnpm --filter astro build`: > 15:00:27 [WARN] [@astrojs/cloudflare] [@astrojs/cloudflare] This adapter is intended to be used with server rendered pages, which...
Thanks @felixlublasser . I'll see what I can do here but there is a chance that it's an @astrojs/cloudflare issue.
Thanks for reporting @pranavks . What's your isomorphic-dompurify version? Did you try https://github.com/kkomelin/isomorphic-dompurify/releases/tag/2.26.0 ?
@pranavks Ah, interesting. Thank you
Thanks everyone for reporting. I've updated dompurify dependency to the latest in [the latest release](https://github.com/kkomelin/isomorphic-dompurify/releases/tag/2.28.0) but it won't probably help with this issue. I think it's better to [report it...
Please help testing [3.0.0-rc.2](https://github.com/kkomelin/isomorphic-dompurify/releases/tag/v3.0.0-rc.2) which is aimed to fix this issue.