Stack Exchange Network
Stack Exchange network consists of 181 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchange
The syntax highlighting in this question seems to have matched a slash as being the start of a comment (or maybe a Perl-style regex) and kept that colour until it encountered another slash.
Is it not detecting the correct type of syntax highlighting to apply or does the Apache config highlighting care about slashes?
asked Mar 21, 2012 at 10:19
26.1k1313 silver badges99 bronze badges
It appears that syntax highlighting was enabled for drupal and it was misinterpreting the mod_rewrite syntax as drupal syntax. I've turned it off.
answered Mar 21, 2012 at 11:21
115k44 gold badges5353 silver badges127127 bronze badges
You must log in to answer this question.