M
M
meln2020-01-03 17:00:40
JavaScript
meln, 2020-01-03 17:00:40

How to remove quotes when creating a react tag?

Hello! I have a form to create a post, but when I create a post, this post is displayed with quotes:
5e0f4c0030390804998038.png
but in the DOM it is displayed:
5e0f48f2f209e870623507.png
How to make this text be displayed without quotes?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
0
0xD34F, 2020-01-03
@meln

dangerouslySetInnerHTML

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question