Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Share Me

  • Please share this topic with your friends. Click any of the icons below:
  • Twitter
  • facebook
  • reddit
  • email

SyntaxEdit CSS comment parsing

A user reported this CSS parser/highlighting issue. Not a big deal but maybe there's an easy fix?

Take these two CSS lines:
#menu a{margin:0;/*padding:0 8px;font-size:14px;font-weight:700;*/text-decoration:none;}
#menu a{margin:0/*;padding:0 8px;font-size:14px;font-weight:700*/;text-decoration:none;}

The CSS comment is parsed (recognized) correctly in the first line but not the second line. This makes it harder to see the comment in the second line because it is not highlighted as a comment.

If there's an easy fix then great, if not then not a big deal.

Thanks.

Comments

Sign In or Register to comment.