W3C home > Mailing lists > Public > html-tidy@w3.org > April to June 2002

Re: bug?

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sun, 30 Jun 2002 05:36:08 +0200
To: dj <dj@xfireonline.com>
Cc: html-tidy@w3.org
Message-ID: <71vshu4aupvi7vuihhkred23aqo105vu3n@4ax.com>

* dj wrote:
>Just ran tidy for the first time (Included with UltraEdit 9.00c and am
>getting a log of the following warnings.
>
>line 155 column 8 - Warning: '<' + '/' + letter not allowed here
>
>Why?

Inside CDATA elements ('script' and 'style' in HTML) an occurence of the
mentioned sequence of '<' + '/' + a letter terminates the element. If
you need this sequence inside such elements, you need to escape it, e.g.
like

  document.write("<\/p>");

what Tidy is supposed to fix automatically.
Received on Sunday, 30 June 2002 01:23:19 GMT

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