After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 576701 - html table creates a <p> within last cell of row
html table creates a <p> within last cell of row
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.5.8
Other Windows
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2009-03-25 11:06 UTC by Joerg Poeltl
Modified: 2010-04-04 11:03 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Joerg Poeltl 2009-03-25 11:06:18 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>
Comment 1 Egil Sølvberg 2010-04-04 10:39:00 UTC
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>
Comment 2 Dimitri van Heesch 2010-04-04 11:03:44 UTC
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.