Sublime Forum

[Bug][ST3]: HTML tag highlight issue

#1

Tag highlight not working properly in case of [/code]

Put cursor on the last tag and you will see that inner

is highlighted. It happens only in case of tags is present.
0 Likes

#2

It works fine for me using BracketHighlighter, but if I disable it I see the problem. I highly recommend installing BracketHighlighter anyway, it’s much more robust and configurable than Sublime’s default tag/bracket matching.

0 Likes

#3

The issue not only about highlight, but autoclose tag is also not working properly. In case you want to close the ‘div’ tag from the example Sublime will autocomplete it to ‘’ even if ‘script’ tag is already closed. As I can understand something is wrong with the regex that is parsing ‘’ tag.

0 Likes

#4

If you want to close tags properly then use “Tag” package. This sort of work should be done via plugins, we can’t time from developers for these trivials things. BTW, is included by default, but well…

0 Likes