We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e2d2ce commit 9d4344dCopy full SHA for 9d4344d
packages/language-core/lib/codegen/template/vSlot.ts
@@ -195,7 +195,7 @@ function getElementInnerLoc(
195
while (options.template.content[start - 1] !== '>') {
196
start--;
197
}
198
- while (options.template.content[end] !== '<') {
+ while (options.template.content[end] !== '<' && end < node.loc.end.offset) {
199
end++;
200
201
return {
0 commit comments