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
This html:
<p style="line-height: 6px;"> This should translate to "lineHeight: '6px'" </p>
Translates to:
<p style={{ lineHeight: 6 }}> This should translate to "lineHeight: '6px'" </p>
When line-height: 6px is not equivalent to line-height: 6 which both are valid values for line-height.
line-height: 6px
line-height: 6
line-height
The text was updated successfully, but these errors were encountered:
I see that this behavior is coming from upstream.
Sorry, something went wrong.
It seems that this was already fixed upstream but a new release wasn't provided: https://magic.reactjs.net/htmltojsx.htm
There is a new version of website in works that fixes multiple issues like this. Since it's a rewrite from scratch, cherrypicking will not help.
No branches or pull requests
This html:
Translates to:
When
line-height: 6px
is not equivalent toline-height: 6
which both are valid values forline-height
.The text was updated successfully, but these errors were encountered: