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 726722 - Blockquote followed by text inserts an extra paragraph
Blockquote followed by text inserts an extra paragraph
Status: VERIFIED FIXED
Product: doxygen
Classification: Other
Component: build
1.8.6
Other Windows
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2014-03-19 15:37 UTC by w.bekker
Modified: 2014-04-22 07:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Example file. (81 bytes, application/octet-stream)
2014-03-19 15:37 UTC, w.bekker
Details
Result (3.56 KB, text/html)
2014-03-19 15:38 UTC, w.bekker
Details

Description w.bekker 2014-03-19 15:37:43 UTC
Created attachment 272395 [details]
Example file.

When inserting a blockquote with a '>' character and appending text after it in a markdown file, doxygen inserts an extra empty paragraph (<p></p>) after the blockquote. Normally not a problem, but I style the blockquote with padding and background color and this makes the empty paragraph visible.

Example input md file:

Title {#mainpage}
=====

Some text here.

> This is important

More text



This will create a html blockquote tag with two paragraphs:

<div class="textblock">
  <p>Some text here.</p>
  <blockquote class="doxtable">
    <p>This is important</p>
    <p></p>
  </blockquote>
  <p>More text</p>
</div>

But I expect it to be without the empty paragraph:
<div class="textblock">
  <p>Some text here.</p>
  <blockquote class="doxtable">
    <p>This is important</p>
  </blockquote>
  <p>More text</p>
</div>


When I ommit the 'More text' line the result is:

<div class="textblock">
  <p>Some text here.</p>
  <blockquote class="doxtable">
    <p>This is important</p>
  </blockquote>
</div>
Comment 1 w.bekker 2014-03-19 15:38:48 UTC
Created attachment 272396 [details]
Result
Comment 2 albert 2014-03-19 16:41:16 UTC
I've just pushed a proposed patch to github (pull request 143)
Comment 3 Dimitri van Heesch 2014-04-21 10:09:37 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.7. 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 (preferrably in the form of a self-contained example).
Comment 4 w.bekker 2014-04-22 07:44:38 UTC
Fixed! Thanks.