-
-
Notifications
You must be signed in to change notification settings - Fork 482
Labels
good reproduction ✨This issue provides a good reproduction, we will be able to investigate it firstThis issue provides a good reproduction, we will be able to investigate it first🔨 p3-minor-bug
Description
Vue - Official extension or vue-tsc version
3.1.0
VSCode version
1.104
Vue version
3.5.12
TypeScript version
5.9.3
System Info
System:
OS: macOS 26.0
CPU: (8) arm64 Apple M1
Memory: 87.67 MB / 8.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 23.4.0 - ~/.proto/shims/node
npm: 10.9.2 - ~/.proto/shims/npm
pnpm: 9.15.0 - ~/.proto/shims/pnpm
bun: 1.2.22 - ~/.proto/shims/bun
Deno: 2.5.0 - ~/.proto/shims/deno
Browsers:
Chrome: 140.0.7339.214
Edge: 140.0.3485.94
Safari: 26.0
package.json dependencies
"dependencies": {
"@vueuse/components": "^11.2.0",
"vitepress": "^1.5.0",
"vue": "^3.5.12"
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@types/bun": "^1.1.13",
"dprint": "^0.47.5",
"typescript": "^5.9.3"
},
Steps to reproduce
Start vitepress, and create a markdown file with this content
<script lang="ts" setup>
const createAbilityList = (arr: string[]) => arr
const talents = createAbilityList([])
</script>
::: info
For more information about Serenity refer to the [Storm, Earth and Fire section.](./sef)
:::
What is expected?
No parsing error
What is actually happening?
Vscode report : element is missing end tag (vue 24)
I've isolated the issue to this test page.

Link to minimal reproduction
No response
Any additional comments?
I ran into this after updating my vue extension to the latest version.
This bug doesn't happen in 3.0.0 or in 2.x, so I'm assuming it sneaked out between 3.0 and 3.1
I hope you'll be able to reproduce it.
It seems the issue is caused by a combination of the :::
syntax in the body and the []
in the script tags.
Metadata
Metadata
Assignees
Labels
good reproduction ✨This issue provides a good reproduction, we will be able to investigate it firstThis issue provides a good reproduction, we will be able to investigate it first🔨 p3-minor-bug