New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect HTML output for \copybrief (Origin: bugzilla #666909) #4514

Closed
doxygen opened this Issue Jul 2, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@doxygen
Owner

doxygen commented Jul 2, 2018

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

Original attachment names and IDs:

On 2011-12-27 14:16:47 +0000, Etienne Dechamps wrote:

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">&nbsp;</td>
  <td class="mdescRight">
    Example.<br>
  </td>
</tr>
<tr>
  <td class="memItemLeft" �>�</td>
  <td class="memItemRight" �>�</td>
</tr>
<tr>
  <td class="mdescLeft">&nbsp;</td>
  <td class="mdescRight">
    Example.<br>
  </td>
</tr>

Actual output:

<tr>
  <td class="memItemLeft" �>�</td>
  <td class="memItemRight" �>�</td>
</tr>
<tr>
  <td class="mdescLeft">&nbsp;</td>
  <td class="mdescRight">
    Example.<br>
  </td>
</tr>
<tr>
  <td class="memItemLeft" �>�</td>
  <td class="memItemRight" �>�</td>
</tr>
<tr>
  <td class="mdescLeft">&nbsp;</td>
  <td class="mdescRight">
    <p>
      Example.
    </p><br>
  </td>
</tr>

Notice the additional

element in the brief documentation of bar(). This results in undesirable, inconsistent vertical white space in the visual result.

On 2011-12-28 10:10:55 +0000, Dimitri van Heesch wrote:

Confirmed. Should be fixed in the next subversion update.

On 2012-02-25 15:37:34 +0000, Dimitri van Heesch wrote:

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.

On 2013-02-04 17:46:34 +0000, Tim James wrote:

Created attachment 235158
Simple example to show problem caused by

'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

s encapsulating the brief description.

@doxygen doxygen closed this Jul 2, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment