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

Re: Bug: Tidy (26 July 1999) warns about nested OL and UL

From: Dave Raggett <dsr@w3.org>
Date: Tue, 17 Aug 1999 19:42:15 +0100 (GMT Daylight Time)
To: Morten Elling <elling@post1.tele.dk>
cc: html-tidy@w3.org
Message-ID: <Pine.WNT.4.10.9908171939581.-399905@hazel.hpl.hp.com>
On Mon, 16 Aug 1999, Morten Elling wrote:

> Bug: Tidy (26 July 1999) warns about nested OL and UL.
> See the attached HTML 4.0 file for details.

Tidy is correct as OL and UL only permit LI as direct
children. Tidy corrects:

<ol>
  <li>The basics</li>
    <ol>
      <li>Intro</li>
    </ol>
  <li>Step two</li>
</ol>

to

<ol>
  <li>The basics
    <ol>
      <li>Intro</li>
    </ol></li>
  <li>Step two</li>
</ol>

which is fine.

Regards,

-- Dave Raggett <dsr@w3.org> http://www.w3.org/People/Raggett
phone: +44 122 578 2984 (or 2521) +44 385 320 444 (gsm mobile)
World Wide Web Consortium (on assignment from HP Labs)
Received on Tuesday, 17 August 1999 14:42:19 GMT

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