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

Paragraph mistaken as code block in indented comment block (Origin: bugzilla #673921) #4661

doxygen opened this Issue Jul 2, 2018 · 0 comments


None yet
1 participant

doxygen commented Jul 2, 2018

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

Original attachment names and IDs:

On 2012-04-11 16:55:44 +0000, wrote:

Created attachment 211854
Comment block that demonstrates the problem

When processing with MARKDOWN_SUPPORT = YES, a paragraph can be mistaken for a code block if the entire comment block is indented 4 or more spaces to the right and there is an existing code block present with the use of @code / @Endcode tags.

The provided example demonstrates the problem. The paragraph starting with "Parameters..." is taken to be a code block when it shouldn't.

Removing the @code / @Endcode section, or outdenting the entire comment block to the left resolves the issue.

On 2012-05-27 18:37:59 +0000, Dimitri van Heesch wrote:

The problem is not only the @code ... @Endcode block, but the comment style

/** This text is at indent 1

   This text is at indent 7


which is now passed to doxygen's markdown parser as

This text is at indent 1

   This text is at indent 7

Making the second line a code block.

I'll change it such that in this case also the first line is seen at indent 7.

On 2012-06-10 09:41:44 +0000, Dimitri van Heesch wrote:

This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 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.

@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