Mark

Results 123 comments of Mark

@mhNirob can you provide a reproducible example using [StackBlitz](https://stackblitz.com/edit/html-react-parser)?

Closing issue due to inactivity

Can you provide a reproducible example @webplantmedia? Is this happening on the server-side or client-side? Just curious: if you render with `'use client'`, does the same error appear?

Gotcha I'll try to reproduce this in the example Next.js app in this repository when I have some time today

I upgraded the example Next.js app to v15 and I wasn't able to reproduce your error: https://github.com/remarkablemark/html-react-parser/tree/master/examples/nextjs Let me know if there's anything I can adjust to reproduce your error

My suspicion is that it's coming from this line: ```jsx ``` Do you call `JSON.stringify` on `domNode` in ``?

Do you get the same error if you do this in the example Next.js app? https://github.com/remarkablemark/html-react-parser/tree/master/examples/nextjs

Can you fork and create a branch with these changes? @webplantmedia

@webplantmedia this is happening because Next.js tries to render the data as JSON in a `` tag: ![Screenshot 2024-11-01 at 4 53 07 PM](https://github.com/user-attachments/assets/6c42ef6f-46f5-454e-8ccd-43eb6e399267) There are 3 solutions: 1. Add...