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 7612fdc commit fc7c064Copy full SHA for fc7c064
packages/svelte2tsx/src/htmlxparser.ts
@@ -53,6 +53,7 @@ function extractTag(htmlx: string, tag: 'script' | 'style') {
53
matches.push({
54
start: containerStart,
55
end: containerEnd,
56
+ name: tag,
57
type: tag === 'style' ? 'Style' : 'Script',
58
attributes: parseAttributes(match[2], containerStart + `<${tag}`.length),
59
content: {
0 commit comments