Skip to content

Bug: Closing tags with spaces don't match #13

@alexolog

Description

@alexolog

Found in Cisual Studio Code, which uses this component.

Matching the following tags fails:

<tag>
</tag >

When the extra space is removed, the operation succeeds.

Note: Whitespace after the tag name is legal.
See https://stackoverflow.com/a/3314543/181238

Ref: microsoft/vscode#132873 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions