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

Re: tidy and scripts

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Fri, 07 Sep 2001 11:20:18 +0200
To: "Jany Quintard" <jany.quintard@fr.ibm.com>
Cc: html-tidy@w3.org
Message-ID: <l24hpt0fp4dk546js4cqdncucjuq9rhq7h@4ax.com>
* Jany Quintard wrote:
>Here is an input (very simple):
><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN">
><html
>><head
>><title
>>Titre</title
>></head
>><body
>><script
>>document.writeln ("</frameset></frameset></frameset>" ) ;
></script
>></body
>></html
>>
>and the output (I run tidy with options -i -raw)

Current Tidy (see http://tidy.sf.net/) returns

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN">

<html>
  <head>
    <meta name="generator" content="HTML Tidy, see www.w3.org">

    <title>Titre</title>
  </head>

  <body>
<script type="text/javascript">
document.writeln ("<\/frameset><\/frameset><\/frameset>");
</script>
  </body>
</html>

>So, the <\/frameset> are not what I want.

But what HTML requires; this shouldn't cause any problems, while your
invalid HTML does.

regards,
-- 
Björn Höhrmann { mailto:bjoern@hoehrmann.de } http://www.bjoernsworld.de
am Badedeich 7 } Telefon: +49(0)4667/981028 { http://bjoern.hoehrmann.de
25899 Dagebüll { PGP Pub. KeyID: 0xA4357E78 } http://www.learn.to/quote/
Received on Friday, 7 September 2001 05:21:25 GMT

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