GNOME Bugzilla – Bug 673921
Paragraph mistaken as code block in indented comment block
Last modified: 2012-06-10 09:41:44 UTC
Created attachment 211854 [details] 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.
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.
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.8.1.1. 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.