atom / bracket-matcher

Jump to brackets
MIT License
142 stars 98 forks source link

Trailing whitespace gets highlighted with the tag name when the tag spans across lines #351

Open Ingramz opened 6 years ago

Ingramz commented 6 years ago

Prerequisites

Description

image

Steps to Reproduce

  1. Copy this piece of HTML with all of the trailing spaces.
    
    <div                  
    >


2. Click on the lonely `>` on the 2nd line.

**Expected behavior:** Only `div` to be underlined

**Actual behavior:** `div` and remaining whitespace become underlined.

**Reproduces how often:** 100%

### Versions

Atom 1.26.1
Bracket-matcher 0.89.1

### Additional Information

When the closing tag is split across lines and trailing whitespace is added, the same occurs.