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">
>>document.writeln ("</frameset></frameset></frameset>" ) ;
>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">

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


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

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

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

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 UTC

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