W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2000

Tidy of Script contents desc += "</td></table>";

From: Rzepa, Henry <h.rzepa@ic.ac.uk>
Date: Mon, 4 Sep 2000 08:44:06 +0100
Message-Id: <p05001101b5d900eb656d@[155.198.234.86]>
To: html-tidy@w3.org
The August  7 Tidy does the following

<script type="text/javascript" language="JavaScript">
desc += "</td></table>";
</script>

with the warning

 line 7 column 16 - Warning: '<' + '/' + letter not allowed here

and writes out ie

desc += "<\/td><\/table>";

Because of course it does not detect eg the <td>, formally its correct,
but in practice of course the  <td> is written out elsewhere.

Can one suppress this behaviour?  Is it in fact correct? 
-- 

Henry Rzepa. +44 (0)20 7594 5774 (Office) +44 (0)20 7594 5804 (Fax)
Dept. Chemistry, Imperial College, London, SW7  2AY, UK. 
http://www.ch.ic.ac.uk/rzepa/
Received on Monday, 4 September 2000 03:45:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:44 GMT