Skip to content

(minor) unquoted slash in attributes throws "attempted to close an element that was not open"Β #7782

@mustafa0x

Description

@mustafa0x

Describe the bug

<a href=/>Home</a> is valid HTML5, but fails in Svelte.

Reproduction

<a href=/>go home</a>

Logs

No response

System Info

repl

Severity

annoyance

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueA small, encapsulated issue, ideal for a new contributor to Svelte to tackle.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions