-
Notifications
You must be signed in to change notification settings - Fork 99
.astro files don't treat a missing '>' as a syntax error #960
Copy link
Copy link
Open
Labels
needs triageIssue needs to be triagedIssue needs to be triaged
Description
Astro Info
Astro v4.3.2
Node v19.7.0
System Linux (x64)
Package Manager npm
Output static
Adapter none
Integrations none
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
I had a project where I was experiencing really strange behavior, and I noticed it was because I had an a tag with a missing > in a .astro file. This wasn't highlighted as an error in my editor, and it also wasn't reporting any errors or warnings when I built the project.
minimum repro:
- create a new project
- delete the
>on line 12 inCard.astro
What's the expected result?
this should probably be raised as a syntax error, both in the editor and at build time.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-dxn5fq?file=src%2Fcomponents%2FCard.astro
Participation
- I am willing to submit a pull request for this issue.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
needs triageIssue needs to be triagedIssue needs to be triaged