GNOME Bugzilla – Bug 576701
html table creates a <p> within last cell of row
Last modified: 2010-04-04 11:03:44 UTC
The following code <table> <tr> <td>name</td> <td>text</td> </tr> <tr> <td>name</td> <td>text</td> </tr> </table> creates the following output (index.html) -> in the first row in the last cell a <p> will be added at the end. Also a blank will be added at the end of every cell. In the last row and last cell the <p> will not be created but an additional blank is there. <table border="1" cellspacing="3" cellpadding="3"> <tr> <td>name </td><td>text <p> </td></tr> <tr><td>name </td><td>text </td></tr> </table>
Doxygen encloses the data in all cells in a paragraph tag. This makes the table big and ugly. The use of end tags (</td>, </tr>) makes no difference. /** * <TABLE > * <TR><TD>text1<TD>text2<TD>text3</TD><TD>text4</TD> * </TABLE> */ Doxygen output: <table border="1" cellspacing="3" cellpadding="3"> <tr> <td><p>text1</p> </td><td><p>text2</p> </td><td><p>text3</p> </td><td><p>text4 </p> </td></tr> </table>
This issue has been fixed in version 1.6.2 or later. If you still see the problem with this or a later version then please reopen the bug report and attach a self-contained example (source+config file in a tar or zip) that allows me to reproduce the problem.