Html-react-parser: Parsing does not work on server side

Created on 2 Jul 2019  ·  4Comments  ·  Source: remarkablemark/html-react-parser

Because of the changes made by this commit, parsing does not work on the server side. This is a problem for server-rendered React applications.

bug

Most helpful comment

@rgavinc I released and published [email protected]:

# npm
npm i -S [email protected]

# yarn
yarn add [email protected]

All 4 comments

Yes you're right @rgavinc. I was able to reproduce the issue in Repl.it.

I'll revert commit 1fb5ee2.

@rgavinc I released and published [email protected]:

# npm
npm i -S [email protected]

# yarn
yarn add [email protected]

Because of the changes made by this commit, parsing does not work on the server side. This is a problem for server-rendered React applications.

Hello, I have the same problem with 0.13 version, it's normal ?

Issue should be fixed @Gus19. Can you provide a reproducible example using Repl.it?

And to note, script tags are not evaluated on the client-side. See FAQ.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lhtdesignde picture lhtdesignde  ·  9Comments

dave-stevens-net picture dave-stevens-net  ·  9Comments

shiglet picture shiglet  ·  6Comments

ollie-o picture ollie-o  ·  3Comments

alizeaiter picture alizeaiter  ·  3Comments