Subject: Bug#3846: lynx misdisplays multiple <dt> in <dl>

From: [email-masked] (Ian Jackson)
Date: Sat, 20 Jul 96 21:20 BST

Package: lynx
Version: 2.4-FM-960316-1

Below is a copy of an HTML file which is also available at
<URL:http://chiark.chu.cam.ac.uk/~ijackson/test-deflist.html>.

There is a bug in the parsing produced by lynx, as shown below.  The
line marked >>>>> should not appear.

(Interestingly Mosaic 2.7b4 and Netscape 2.01 each have a bug here
too, but their bugs are different from lynx's even though they're the
same as each other's (-:.)

Ian.

    > chiark:~> lynx -dump http://chiark.chu.cam.ac.uk/~ijackson/test-deflist.html   
    > 
    >                                      test
    >                                        
    >    keyword1
>>>>>           
    >    keyword2
    >           paragraph
    >           
    >           second paragraph
    >           
    >    keyphrase for third para
    >           third paragraph
    >           
    >                                test with compact
    >                                        
    >    keyword1
    >    keyword2
    >           paragraph
    >           
    >           second paragraph
    >    keyphrase for third para
    >           third paragraph
    > chiark:~> 

<html><head>
<title>Test of definition lists</title>
</head><body>
<h1>test</h1>

<dl>
<dt>keyword1
<dt>keyword2
<dd>
paragraph
<p>
second paragraph

<dt>keyphrase for third para
<dd>
third paragraph

</dl>

<h1>test with compact</h1>

<dl compact>
<dt>keyword1
<dt>keyword2
<dd>
paragraph
<p>
second paragraph

<dt>keyphrase for third para
<dd>
third paragraph

</dl>

</body></html>