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

Re: why is Tidy changing my 4.0 code into 3.2?

From: Charles Reitzel <creitzel@rcn.com>
Date: Wed, 19 Jun 2002 11:28:35 -0400
Message-Id: <4.3.2.7.2.20020619112756.00bae3c8@pop.rcn.com>
To: html-tidy@w3.org

Setting --enclose-text yes will also do the trick.

At 10:34 AM 6/19/2002 +0200, you wrote:

>* Malcolm Pateman [Tue, 18/06/2002 at 12:05 -0400]
> > Hi there HTML Tidy People
> > I have a simple question re. Tidy (I'm using the Mac BBEdit plugin) ...
> > my code is HTML 4.0, but Tidy makes it into 3.2. Can someone help me?
> > Here is an example:
> >
> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
> >    "http://www.w3.org/TR/REC-html40/strict.dtd">
> > <HTML>
> > <HEAD>
> >  <TITLE>Testing 123</TITLE>
> >  <META NAME="generator" CONTENT="BBEdit 5.0">
> > </HEAD>
> > <BODY>
> > blah blah blah
> > </BODY>
> > </HTML>
>
>Enclose your text in a paragraph, like:
>   <body>
>     <p>blah blah blah</p>
>   </body>
>
>In strict HTML 4, body does not seem to be allowed to contain directly
>PCADAT.
>
><!ENTITY % block
>      "P | %heading; | %list; | %preformatted; | DL | DIV | NOSCRIPT |
>       BLOCKQUOTE | FORM | HR | TABLE | FIELDSET | ADDRESS">
>
><!ELEMENT BODY O O (%block;|SCRIPT)+ +(INS|DEL) -- document body -->
>
>Jany
>
>------------------------------------------------------------------------
>Jany Quintard               | I always wanted to be somebody,
>jany.quintard@bigfoot.com   | but I should have been more specific.
>                             |  Lily Tomlin
Received on Wednesday, 19 June 2002 11:25:09 GMT

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