-
Notifications
You must be signed in to change notification settings - Fork 73
Labels
- P3: minor bugAn edge case that only affects very specific usage (priority)An edge case that only affects very specific usage (priority)feat: tsxRelated to the TSX output (scope)Related to the TSX output (scope)
Description
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:
<div></div>
<div class="something"
results in the following TSX:
<Fragment>
<div></div>{`
<div class="fdsfs"
`}
</Fragment>
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
Metadata
Metadata
Assignees
Labels
- P3: minor bugAn edge case that only affects very specific usage (priority)An edge case that only affects very specific usage (priority)feat: tsxRelated to the TSX output (scope)Related to the TSX output (scope)