GNOME Bugzilla – Bug 595931
<p> </p> Tags are added to every cell in a HTML table
Last modified: 2009-12-30 13:39:05 UTC
In a HTML table, <p> and </p> tags are added to every cell by doxygen. Thus the spacing between two rows of the table becomes too large. Example: <table> <tr> <td>name</td> <td>text</td> </tr> <tr> <td>name</td> <td>text</td> </tr> </table> is transformed by doxygen to <table border="1" cellspacing="3" cellpadding="3"> <tr> <td><p>name </p> </td><td><p>text </p> </td></tr> <tr> <td><p>name </p> </td><td><p>text </p> </td></tr> </table>
I can confirm this bug and it makes generating table header rows annoyingly difficult. You can't get a header row to have a height of one line, since the <p> tags have the effect of adding a second line to the cell height. Interestingly, if the cell contains an unordered list (ie <ul> tags) then no <p> tags are inserted. Presumably doxygen is only inserting <p> tags if it determines that there's some ordinary text in the cell that is not subject to some other kind of formatting.
Confirmed. Should be fixed in the next release.
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.6.2. Please verify if this is indeed the case and reopen the bug if you think it is not fixed (include any additional information that you think can be relevant).