Rainbow improperly highlights <script><!-- --></script>

If a site does something like

<script type="javascript" src="slider.js"><!-- this is the JS for the fancy slider effects --></script>
the ending </script> tag isn't noticed by Rainbow, and it will try to JS-highlight everything until it meets another </script> tag which isn't preceded by a > (at least, that's what I've noticed).

This causes a problem in some websites, e.g. Wikipedia: around line 64, there is such a script tag, and the rest of <head> consists only of bare includes, so Rainbow pretends that a chunk of the head and the body is JS, and then highlights a bunch of unmatched tags that it missed while in JS mode.
 
indifferent I’m a little peeved
Inappropriate?
1 person has this problem

Get Satisfaction loves Zappos because they care about customer service.


User_default_medium