Home Download Buy Blog Forum Support

Syntax highlighting thrown off by incorrect style rule

Syntax highlighting thrown off by incorrect style rule

Postby rchl on Sun Jan 15, 2012 6:46 pm

Invalid rule in the style tag causes all following content to loose syntax highlighting (check content inside the script tag and html attributes):

Code: Select all
<!DOCTYPE HTML>
<html>
<head>
   <style>
      @namespace "";
   </style>
   <script>
      onload = function() { }
   </script>
</head>
<body id="foo">
</body>
</html>
rchl
 
Posts: 148
Joined: Fri Mar 04, 2011 11:02 pm

Return to General Discussion

Who is online

Users browsing this forum: Google [Bot] and 34 guests