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 04d52b7 commit 2a31d04Copy full SHA for 2a31d04
packages/language-server/src/lib/documents/utils.ts
@@ -81,7 +81,7 @@ function extractTags(
81
return true;
82
}
83
84
- const nodes = rootNodes.slice(rootNodes.indexOf(tag));
+ const nodes = rootNodes.slice(tagIndex);
85
const rootContentAfterTag = nodes
86
.map((node, idx) => {
87
const start = node.startTagEnd ? node.end : node.start + (node.tag?.length || 0);
0 commit comments