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

Re: Syntactic vs. stylistic issues

From: Gary L Peskin <garyp@firstech.com>
Date: Sun, 03 Dec 2000 19:32:20 -0800
Message-ID: <3A2B1044.9EEAEF3B@firstech.com>
To: Howard Kaikow <kaikow@standards.com>
CC: html-tidy@w3.org
Howard Kaikow wrote:
> For example, I have the following construct in a number of files (Note that
> the URLs below are not, as far as I know, actual URLs):
> 
> <P><BLOCKQUOTE><B>Usage Note:</B> If you have difficulty accessing
> ftp.DoesNotExist.com, you may try ftp.MaybeThisExists.com.</BLOCKQUOTE>
>
> Running TidyGUI, this gets converted to:
> 
> <blockquote><b>Usage Note:</b>
> <p>If you have difficulty accessing ftp.DoesNotExist.com, you may try
> ftp.MaybeThisExists.com.</p>
> </blockquote>
> 
> This breaks the run-in/dictionary style.
> 
> Why was that done?

According to http://www.w3.org/TR/html401/struct/text.html#edef-P the
only elements allowed inside a <p> tag are defined by %inline;

%inline;, in turn, is defined at
http://www.w3.org/TR/html401/sgml/dtd.html#inline and does not include
<blockquote>.  Tidy has made a guess at what you wanted and changed your
HTML to legal (or "tidied") HTML.

Gary
Received on Sunday, 3 December 2000 22:32:26 GMT

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