Bug: Unclosed nested List Tags causes infinite loop

Hi,

Given is the code: <UL><OL></UL>

Tidy's output:

<UL>
line 1 column 1 - Warning: inserting missing 'title' element
<OL>
line 2 column 1 - Warning: <ol> isn't allowed in <ul> elements
</ul>
line 3 column 1 - Warning: discarding unexpected </ul>
line 3 column 1 - Warning: discarding unexpected </ul>
line 3 column 1 - Warning: discarding unexpected </ul>
line 3 column 1 - Warning: discarding unexpected </ul>
line 3 column 1 - Warning: discarding unexpected </ul>
.
.
.


I could not figure out, where exactly the bug is (ParseList is a candidate),
but i think this problem is related to the bug reported by Kenichi Numata when
parsing his "<FONT size=+2>Title<OL></FONT>Text</OL>".

Same with: <OL><UL></OL>.

regards,
 Björn Höhrmann

Received on Monday, 16 August 1999 19:33:13 UTC