Prerequisites
Description
When you add a script tag (with type, source, or no attributes at all), all syntax highlighting turns off for the current file. Removing the script tag adds it back in.
Steps to Reproduce
- Open a new file
- Set the syntax as HTML, either by saving the file as HTML or using the syntax selector
- Expand the
html snippet (this step may be optional, but it's an easy way to see the lack of highlighting)
- Type
<script></scrip
- Type
t

Expected behavior:
All syntax is highlighted
Actual behavior:
No syntax is highlighted (all becomes gray, syntax classes disappear from the spans)
Reproduces how often:
100% of the time
Versions


Additional Information
No errors in the console

Prerequisites
Description
When you add a script tag (with type, source, or no attributes at all), all syntax highlighting turns off for the current file. Removing the script tag adds it back in.
Steps to Reproduce
htmlsnippet (this step may be optional, but it's an easy way to see the lack of highlighting)<script></scriptExpected behavior:
All syntax is highlighted
Actual behavior:
No syntax is highlighted (all becomes gray, syntax classes disappear from the spans)
Reproduces how often:
100% of the time
Versions
Additional Information
No errors in the console
