🐛 BUG: HTML comments not properly highlighted in ternary expressions #271
Labels
- P2: nice to have
Not breaking anything but nice to have (priority)
feat: syntax
Issue in our syntax highlighting (scope)
Describe the Bug
When using an HTML comment as one of the results of an inline ternary expression in an Astro template file, Visual Studio Code with the Astro extension (version: 0.16.1) does not properly highlight it as a comment and instead highlights it as what appears to be invalid JSX. Image attached:
Steps to Reproduce
.astro
) in Visual Studio Code.<!-- Goodbye, World. -->
) as a comment.The text was updated successfully, but these errors were encountered: