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

HTML <input> tags will fail in JSXTransformer.transform #7

Closed
hallgren opened this issue Nov 23, 2014 · 2 comments
Closed

HTML <input> tags will fail in JSXTransformer.transform #7

hallgren opened this issue Nov 23, 2014 · 2 comments
Labels

Comments

@hallgren
Copy link

JSXTransformer.transform expect all tags to end with a slash </> or a closing tag <></> but the element.innerHTML will transform a input tag to a single <input> tag with no ending / that will fail in the transform method. => Expected corresponding XJS closing tag for input

I don´t know if the issue is in the .innerHTML method or that JSXTransformer.transform should handle the <input> tag?

@hallgren
Copy link
Author

The pull-request #9 will also fix this issue.

@ssorallen
Copy link
Owner

I confirmed this was fixed by integrating react-magic's HTML to JSX converter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants