We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have html string like this:
var html = '<div class="content" data-content="Some text. <a href="https://google.com/" target="_blank" class="external">Google!</a>">internal text</div>'
It has data-content attribute which contains <, > and ".
data-content
<
>
"
The output is:
<div className="content" data-content="Some text. <a href="https://google.com/" target="_blank" class="external">Google!</a>">internal text</div>
But it's not a valid jsx code.
I uses this fork to handle such case: xcv58@ed12343
But I'm not sure whether it's correct way.
The text was updated successfully, but these errors were encountered:
I am having a similar problem with { and } characters.
{
}
Sorry, something went wrong.
No branches or pull requests
I have html string like this:
It has
data-content
attribute which contains<
,>
and"
.The output is:
But it's not a valid jsx code.
I uses this fork to handle such case:
xcv58@ed12343
But I'm not sure whether it's correct way.
The text was updated successfully, but these errors were encountered: