script tag breaks syntax highlighting

Post here if your topic is about CSE HTML Validator but doesn't fit in another forum.

script tag breaks syntax highlighting

Postby Joe Belmaati » Fri Oct 06, 2006 2:09 am

Hello,
I have just downloaded and installed the Release version of 8.0 Pro. There seems to be a highlighting bug that breaks syntax highlighting if you have a script embedded in your page. The following little test page checks out without errors but highlighting seems to break. If I remove the script then highlighting seems to work.

http://www.belmaati.com/weblogs/New1.txt
Joe Belmaati
Rank 0 - Newcomer
Rank 0 - Newcomer
 
Posts: 1
Joined: Tue Aug 08, 2006 12:45 am

Postby Albert Wiersch » Fri Oct 06, 2006 7:18 am

Hi Joe,

Yes, this happens fairly frequently due to limitations with the editor component we use. Unfortunately, there's not a lot I can easily do about this.

You may want to consider putting your script in an external file, as that is usually what is recommended anyway.
Image
Albert Wiersch
User avatar
Albert Wiersch
Site Admin
Site Admin
 
Posts: 2435
Joined: Sat Dec 11, 2004 10:23 am
Location: Near Dallas, TX


Return to Other CSE HTML Validator

Who is online

Users browsing this forum: No registered users and 1 guest