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
SyntaxError: Unexpected closing tag "template". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags (3:1)
1 | <template>
2 | {{ "<this_is_a_tag_like string>" }}
> 3 | </template>
| ^^^^^^^^^^^
4 |
In this example, Prettier incorrectly interprets the string <this_is_a_tag_like string> as an HTML tag. This should be treated as a regular string within the template context. It should be a valid vue syntax.
I would appreciate it if this issue could be fixed in a future update.
The text was updated successfully, but these errors were encountered:
Prettier 3.2.5
Playground link
Input:
Output:
Expected output:
In this example, Prettier incorrectly interprets the string
<this_is_a_tag_like string>
as an HTML tag. This should be treated as a regular string within the template context. It should be a valid vue syntax.I would appreciate it if this issue could be fixed in a future update.
The text was updated successfully, but these errors were encountered: