W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2005

Re: Warning: '<' + '/' + letter not allowed here

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sat, 10 Dec 2005 08:06:00 +0100
To: ClaireRafferty@redcar-cleveland.gov.uk
Cc: html-tidy@w3.org
Message-ID: <egvkp1lklklfbve6c7o88r26atbio00qeu@hive.bjoern.hoehrmann.de>

* ClaireRafferty@redcar-cleveland.gov.uk wrote:
>I have a scroll bar on my homepage that uses some javascript.  Here is the 
>block of code -
>
>                <script type='text/javascript'>var messages=new Array();
></script><div style='border:none;border-bottom:1px solid 
>#9f9f9f;padding:0px;padding-bottom:7px;margin:none;margin-bottom:7px'><script 
>type='text/javascript' src='/Store.nsf/scroller.js'></script></div>

>How can I stop getting the Warning: '<' + '/' + letter not allowed here 
>error?????

You get this if you have code like

  <script ...>document.write("</foo>")</script>

you don't get it for the code above. Why would you want to stop getting
it? Code as above is not allowed and Tidy should fix it for you.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Saturday, 10 December 2005 07:06:02 GMT

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