GNOME Bugzilla – Bug 571561
No space between * and tag (e.g. \endcode) makes parser misbehave
Last modified: 2013-05-19 12:35:48 UTC
Please describe the problem: If there is no space between the *'s and a tag (e.g. \endcode) then the parser doesn't behave correctly (i.e. it displays an extra start in the documented code block). /** * Example usage: *\code * $bf = new CCryptBlowfish('some secret key!'); * $encrypted = $bf->Encrypt('this is some example plain text'); * $plaintext = $bf->Decrypt($encrypted); * echo "plain text: $plaintext"; *\endcode */ Steps to reproduce: /** * Example usage: *\code * $bf = new CCryptBlowfish('some secret key!'); * $encrypted = $bf->Encrypt('this is some example plain text'); * $plaintext = $bf->Decrypt($encrypted); * echo "plain text: $plaintext"; *\endcode */ The above code produces an extra "*" at the end of the documented code. This code is ok: /** * Example usage: * \code * $bf = new CCryptBlowfish('some secret key!'); * $encrypted = $bf->Encrypt('this is some example plain text'); * $plaintext = $bf->Decrypt($encrypted); * echo "plain text: $plaintext"; * \endcode */ Actual results: You see an extra start "*" in the documented code block. Expected results: No extra star. Does this happen every time? yes Other information:
Changed version 'latest' to '1.8.2-SVN' so I can remove 'latest' as an option as it is a moving target.
Created attachment 234556 [details] [review] PATCH: fix proble with asterisk without space following it This patch fixes the problem as indicated in the bug report as well as other problems where directly after an asterisk there is no space.
Thanks, I'll include the patch in the next subversion update.
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.8.4. 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.