You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As title suggests, using a void element such as without a trailing backslash and within a map method causes syntax highlighting to break. Example in the code below:
Use any void element without a trailing backslash in the map method, ex. , or
The syntax highlighting for the map function aswell as some closing html tags beneath the void element breaks.
The expected behavior should be that the void element behaves as it does outside the mapping function, where the lack of a trailing backslash does not cause the syntax highlighting to break.
The text was updated successfully, but these errors were encountered:
Describe the Bug
As title suggests, using a void element such as
without a trailing backslash and within a map method causes syntax highlighting to break. Example in the code below:
Steps to Reproduce
npm create astro@latest
, or
The text was updated successfully, but these errors were encountered: