W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2001

Problem with TidyGUI 1.0

From: Chris Knight <cknight@attcanada.ca>
Date: Fri, 23 Feb 2001 13:32:45 -0500 (EST)
Message-ID: <001501c09dc7$89d58b20$1c4081d8@1ewgt>
To: <html-tidy@w3.org>

Whenever Tidy finds a backslash character within a quoted string (of HTML
code) within a JavaScript, it (Tidy) emits this message:
    line nn column nn - Warning: '<' + '/' + letter not allowed here

For example, the following line (within a properly coded JavaScript) caused
4 errors, one for each backslash:
      shInfo = "<P><B>Folder:</B><BR>" + sFolder + "</P><P><B>File:</B><BR>"
+ sFile + "</P>";

I don't think Tidy should ever parse quoted strings, but, that aside, I am
not aware of a REAL problem in such cases. Am I mistaken?


Christopher Knight, Technical Communicator
E-mail: cknight@attcanada.ca
Phone: (604) 877-0074
Received on Monday, 26 February 2001 22:22:08 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:49 UTC