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

Doesn't catch unclosed tags #58

Open
kevinresol opened this issue Nov 29, 2016 · 1 comment
Open

Doesn't catch unclosed tags #58

kevinresol opened this issue Nov 29, 2016 · 1 comment

Comments

@kevinresol
Copy link
Contributor

jsx('
	<div>
		<p>Paragraph</p>
	<div/>
');

The above code is unclosed, but parsed as if it is closed with an extra </div>
This cause some hard-to-notice bug when there are some typos (just as in the case above it should be </div> instead of <div/>)

@elsassph elsassph self-assigned this Dec 19, 2016
@elsassph elsassph added the bug label Dec 19, 2016
@elsassph elsassph removed their assignment Dec 19, 2016
@elsassph
Copy link
Contributor

This is really an odd behaviour from the built-in XML parser...

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

No branches or pull requests

2 participants