sveltejs / kit

web development, streamlined
https://kit.svelte.dev
MIT License
17.81k stars 1.78k forks source link

fix: Continue traversing a non-self-closing element's children #12175

Closed AdrianGonz97 closed 2 weeks ago

AdrianGonz97 commented 2 weeks ago

Fixes an issue where a non-self-closing element would have their children skipped when running the svelte-migrate self-closing-tags migration script.

for example:

<div>
<!-- 👇 doesn't get fixed by the migration script -->
    <i /> 
</div>

Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

Tests

Changesets

Edits

changeset-bot[bot] commented 2 weeks ago

🦋 Changeset detected

Latest commit: 5d0d43b966edd1fc3ac51548b76c7ab954694436

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | -------------- | ----- | | svelte-migrate | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR