7-Jul-99 bug: <dir> containing unterminated <li>'s

The HTML document below has an obsolete <dir> containing a list of
unterminated <li>'s.  7-Jul-99 Tidy incorrectly transforms the second and
subsequent <li>'s into children of the first <li>.  This appears to be a
regression error since 14-Apr-99 Tidy correctly made all <li>'s siblings.

    14-Apr-99 output           7-Jul-99 output
    ----------------           ---------------
    ...                        ...
    <dir>                      <dir>
    <li>item 1</li>            <li>item 1
                               <ul>
    <li>item 2</li>            <li>item 2</li>
    <li>item 3</li>            <li>item 3</li>
                               </ul>
                               </li>
    </dir>                     </dir>
    ...                        ...

-------- Example HTML document --------
<html>
  <head>
    <title>x</title>
  </head>
  <body>
    <dir>
      <li>item 1
      <li>item 2
      <li>item 3
    </dir>
  </body>
</html>
---------------------------------------

Randy

Received on Thursday, 22 July 1999 20:30:55 UTC