Skip to content

[Bug] xml tag rainbow colouring breaks when opening tag contains wrong whitespace #195

Description

@PlasmaHH

Describe the bug

When an xml opening tag contains an attribute and after that there is some whitespace, then the rainbow colouring does not work

To Reproduce

<a foo="" >
<b>
</b>
</a>

or

<a foo="" 
>
<b>
</b>
</a>

For the first case replaying \>/ with \s*\>/ in the regex for start= works, but for the second there is probably some way that it needs to match over multiple lines

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions