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

jsxClosingTag does not return closing tag inside tag body #25552

Closed
mjbvz opened this issue Jul 10, 2018 · 0 comments
Closed

jsxClosingTag does not return closing tag inside tag body #25552

mjbvz opened this issue Jul 10, 2018 · 0 comments
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue

Comments

@mjbvz
Copy link
Contributor

mjbvz commented Jul 10, 2018

TypeScript Version: 3.0.0-dev.20180706

Search Terms:

  • jsxClosingTag
  • jsx
  • tag closing

Code
For the code:

const a = <div>
    <div>
</div>

Request tag closing after the inner <div>

Expected behavior:
A closing div tag is returned. Even though the current tag appears closed in the code's before state, it leaves the outer div mismatched.

Actual behavior:
No closing tag is returned

Playground Link:

Related Issues:

@mjbvz mjbvz changed the title jsxClosingTag does not return closing tag inside jsxClosingTag does not return closing tag inside tag body Jul 10, 2018
@ghost ghost added Bug A bug in TypeScript Fixed A PR has been merged for this issue labels Jul 10, 2018
@mhegazy mhegazy added this to the TypeScript 3.0.1 milestone Jul 10, 2018
@mhegazy mhegazy assigned ghost Jul 10, 2018
@ghost ghost closed this as completed in #25557 Jul 10, 2018
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A bug in TypeScript Fixed A PR has been merged for this issue
Projects
None yet
Development

No branches or pull requests

2 participants