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

Ignoring <script> tags? #67

Closed
hauptrolle opened this issue Sep 12, 2019 · 2 comments
Closed

Ignoring <script> tags? #67

hauptrolle opened this issue Sep 12, 2019 · 2 comments

Comments

@hauptrolle
Copy link

Hi 👋 ,

first of all, thank you for your work on this package. It works great expect for one case:
Parsing <script> tags.
I prepared a codesandbox for this. As you can see the script tag is not rendered at all.

Codesandbox: https://codesandbox.io/s/vigorous-boyd-ptj8y

Did I miss some kind of configuration to handle script tags properly?

Cheers,
Achim

@martin-eq
Copy link

@hauptrolle I think this is similar to this issue in a similar library to this:
remarkablemark/html-react-parser#98

TL;DW: It seems react-dom ignores script elements.

@hauptrolle
Copy link
Author

@martin-eq Yeah, I found this issue as well. Sad that react-dom is ignoring it 😞 I will close this issue...

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