GNOME Bugzilla – Bug 666909
Incorrect HTML output for \copybrief
Last modified: 2013-02-04 17:50:46 UTC
How to reproduce: $ cat >bug.h <<EOF //! \file bug.h //! \brief Example. void foo(); //! \copybrief foo() void bar(); EOF $ doxygen -g && doxygen Expected HTML output for the function list of bug.h: <tr> <td class="memItemLeft" …>…</td> <td class="memItemRight" …>…</td> </tr> <tr> <td class="mdescLeft"> </td> <td class="mdescRight"> Example.<br> </td> </tr> <tr> <td class="memItemLeft" …>…</td> <td class="memItemRight" …>…</td> </tr> <tr> <td class="mdescLeft"> </td> <td class="mdescRight"> Example.<br> </td> </tr> Actual output: <tr> <td class="memItemLeft" …>…</td> <td class="memItemRight" …>…</td> </tr> <tr> <td class="mdescLeft"> </td> <td class="mdescRight"> Example.<br> </td> </tr> <tr> <td class="memItemLeft" …>…</td> <td class="memItemRight" …>…</td> </tr> <tr> <td class="mdescLeft"> </td> <td class="mdescRight"> <p> Example. </p><br> </td> </tr> Notice the additional <p> element in the brief documentation of bar(). This results in undesirable, inconsistent vertical white space in the visual result.
Confirmed. Should be fixed in the next subversion update.
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.8.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.
Created attachment 235158 [details] Simple example to show problem caused by <P>'s inserted by \copybrief \copybrief seems to be broken again. In the attached example, \copybrief is used to add a short description to objects listed in an unordered list. HTML output is as expected under 1.8.1.2 but is broken under 1.8.3.1. Looking at the generated HTML, the problem appears to be similar as described above, with unwanted <P>s encapsulating the brief description.