[Bug 18673] New: false alarm </script error message.

https://www.w3.org/Bugs/Public/show_bug.cgi?id=18673

           Summary: false alarm </script error message.
           Product: Validator
           Version: HEAD
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Parser
        AssignedTo: dave.null@w3.org
        ReportedBy: roedyg@mindprod.com
         QAContact: www-validator-cvs@w3.org


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>

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Friday, 24 August 2012 01:25:51 UTC