Skip to content

Incorrect HTML is generated #866

@peter23

Description

@peter23

Hello.

I have HTML:

<div>
	<span><i></i></span>
	<span><i></i></span>
</div>

But Svelte outputs it in the following way:

<div>
	<span><i></i></span>
	<i>
		<span><i></i></span>
	</i>
</div>

I'm using version 1.4.0.

You can see it there: https://svelte.technology/repl?version=1.40.0&gist=5061e03f1ec98ae67e0e7d7a3da4963e

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions