Skip to content

Multiple <dd> elements not rendered correctly #10863

@MarkCallow

Description

@MarkCallow

Describe the bug
When I have

<DL>
   <DT>Center
   <DT>Centre
   <DD> A point equidistant from all points
              on the surface of a sphere.
   <DD> In some field sports, the player who
              holds the middle position on the field, court,
              or forward line.
</DL>

in a doxygen comment an Unexpected tag <dd> found warning is issued and the content of the 2 tags is run together as one as seen in the screen shot below. The second screen shot shows how Firefox renders it.

The HTML spec. shows in examples that multiple <dd> and <dt> tags are valid. Doxygen renders the multiple <dt> tags correctly.

Screenshots
Screenshot 2024-05-14 at 13 27 31

Rendering from Doxygen HTML output

Screenshot 2024-05-14 at 13 32 04

Firefox rendering of the example HTML.

To Reproduce

issue10863.zip

Expected behavior
No warning and each <dd> element rendered separately.

Version
Doxygen 1.9.8 on macOS Sonoma 14.4.1.

Stack trace
n/a

Additional context
n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions