# \if and \endif inside tables (Origin: bugzilla #620926) #3797

Closed
opened this Issue Jul 2, 2018 · 0 comments

Projects
None yet
1 participant
Owner

### doxygen commented Jul 2, 2018

status RESOLVED severity normal in component general for ---
Reported in version 1.6.3 on platform Other
Assigned to: Dimitri van Heesch

On 2010-06-08 06:16:36 +0000, Michael Stockman wrote:

Suppose you have the following doxygen code:

/** \page my_page_2 Another page

Byte noBitFunction
00x01Energy
00x02Volume
00x04Temperature T1
00x08Temperature T2
00x10Phase
00x10Reserved
00x20Flow

*/

In the HTML output, the \if-line causes

to be inserted into the last preceding adding an empty line to the cell.
In the tex output an empty line is added to all cells on the last row.

The same effect occurs at the \endif.

Bug 576701 discusses

in table cells, but seems to be a different behaviour since it talks about enclosing all table data in paragraphs, not adding an empty paragraph in some cells.

On 2010-06-11 14:09:17 +0000, Dimitri van Heesch wrote:

This seems to have the same cause as bug 620924, so it should also be fixed in the next release.

On 2010-06-15 11:21:56 +0000, Dimitri van Heesch wrote:

This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.7.0. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information
that you think can be relevant.