🐛 BUG: [TSX] Unclosed tag result in unnecessary escaping #862
Labels
- P3: minor bug
An edge case that only affects very specific usage (priority)
feat: tsx
Related to the TSX output (scope)
What version of
@astrojs/compiler
are you using?2.1.0
What package manager are you using?
pnpm
What operating system are you using?
macOS
Describe the Bug
The following code:
results in the following TSX:
Not quite sure why it does that, but it breaks type checking and completions (which can work even on a malformed tag). Closing the tag
<div class="fdsfs">
will fix it, but since this is editor tooling, you shouldn't have to.Link to Minimal Reproducible Example
See description
The text was updated successfully, but these errors were encountered: