- From: Gary L Peskin <garyp@firstech.com>
- Date: Sun, 03 Dec 2000 19:32:20 -0800
- 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 UTC