This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 18673 - false alarm </script error message.
Summary: false alarm </script error message.
Status: RESOLVED INVALID
Alias: None
Product: Validator
Classification: Unclassified
Component: Parser (show other bugs)
Version: HEAD
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-24 01:25 UTC by Roedy Green
Modified: 2012-09-08 09:05 UTC (History)
0 users

See Also:


Attachments

Description Roedy Green 2012-08-24 01:25:49 UTC
Consider http://mindprod.com/index.html

There is a line 46.

<script type="text/javascript">if (document.URL.indexOf("file:")!=0){document.writeln("<div class=\"g-plusone\"><"+"/div>");}</script>


Note the way I had to artificially break the string in two to avoid a false error.
I would have more naturally written it:

<script type="text/javascript">if (document.URL.indexOf("file:")!=0){document.writeln("<div class=\"g-plusone\"></div>");}</script>