HTML Script Tags


When I have selected somewhere in an HTML tag, it has a blue line underneath, like this:
However, when I select a script tag, it is not highlighted. It seems to me that the script tag would work the same as the other tags, is this intentional, or a bug? If it is intentional, is there a way to change this?


I can reproduce that, when I click inside the “script” word.
Curiously, if I put the caret just before or just after <script>, or just before </script>, it works.
I would see that as a workaround, I guess there is a bug for the other cases.


There is an open issue on this here: