Bug: Nested tags that include dash symbol (ionic html) and parent name, it highlights wrong tag.
tahaerden opened this issue · comments
I'm having this issue where a nested tag that includes dash (-) symbol includes the parent tag name in it, highlight matches faulty, as seen on screenshot.
Here is a quick example if you cannot see the screenshot above. Assume the texts wrapped with ** are getting highlighted:
**<test>**
<test-tag>**</test-tag>**
</test>
Atom : 1.42.0
Electron: 4.2.7
Chrome : 69.0.3497.128
Node : 10.11.0
atom-lint: deprecated (maybe update it in CONTRIBUTING.md ?)
linter: 2.3.1
Whether using React editor: no
Ok that's weird. I tried in both new empty file, and also in a couple of my angular/ionic html files.
I noticed when I open my angular html the issue persists. When I click on the HTML grammar on the bottom, it says Auto detect.
When I manually select HTML from the grammar list, the issue is gone. So I guess it only happens on auto-detect HTML grammar.