Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Matching HTML tags not highlighted properly when one of them is multi-line #333

@iagoqo

Description

@iagoqo

When one of the HTML tags is multi-line some matching brackets are not highlighted properly, highlighting one of a different element or none at all. The behaviour is the same in safe mode.

Here is a simple example that shows this. On longer files the issue spreads until the end.

atom

Code in the examples:

<div>
  <div class="test"
    title="test"
  >
    <div>test</div>
  </div>
</div>

I don't remember this happening a few months ago, so the bug may have appeared on one of the latest releases.

bracket-matcher version: 0.88.0
atom version: 1.22.1
OS: Windows 10

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions