Skip to content

Commit e079744

Browse files
authored
Update packages/svelte/src/compiler/phases/1-parse/state/element.js
1 parent 3f71653 commit e079744

File tree

1 file changed

+1
-1
lines changed
  • packages/svelte/src/compiler/phases/1-parse/state

1 file changed

+1
-1
lines changed

packages/svelte/src/compiler/phases/1-parse/state/element.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ export default function element(parser) {
336336

337337
// Loose parsing mode
338338
if (!closed) {
339-
// We may have eaten an opening `<` of the next element and treated is as an attribute...
339+
// We may have eaten an opening `<` of the next element and treated it as an attribute...
340340
const last = element.attributes.at(-1);
341341
if (last?.type === 'Attribute' && last.name === '<') {
342342
parser.index = last.start;

0 commit comments

Comments
 (0)