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 688463 - Double underscore in identifiers not ignored by markdown (PATCH)
Double underscore in identifiers not ignored by markdown (PATCH)
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.8.2
Other All
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2012-11-16 13:52 UTC by René Papenhoven
Modified: 2012-12-26 16:09 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Modified markdown.cpp for emphasis fix (58.70 KB, text/plain)
2012-11-17 11:14 UTC, René Papenhoven
Details

Description René Papenhoven 2012-11-16 13:52:37 UTC
A reference to the following identifier is not correctly processed by markdown.

   MyNameSpace::__MyClass::__MyMethod()

The problems is that the function findEmphasisChar() in markdown.cpp only checks correctly for a single character emphasis token to end the emphasis part.

In my opinion it should check for a emphasis token of the same size as the start token.

I've modified this function in the attached file (based on svn revision 833) by adding a parameter to indicate the size of the token.
Comment 1 Dimitri van Heesch 2012-11-17 09:33:15 UTC
Did you forget to attach the file?
Comment 2 René Papenhoven 2012-11-17 11:14:12 UTC
Created attachment 229225 [details]
Modified markdown.cpp for emphasis fix

2nd attempt for attachment. (1st somehow failed)
Comment 3 Dimitri van Heesch 2012-11-17 16:34:53 UTC
Thanks, I'll include the patch in the next subversion update.
Comment 4 Dimitri van Heesch 2012-12-26 16:09:30 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.3. 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.