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 671771 - Markdown backticks incorrectly introduce backslash characters
Markdown backticks incorrectly introduce backslash characters
Status: RESOLVED DUPLICATE of bug 671709
Product: doxygen
Classification: Other
Component: general
1.8.0
Other Linux
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2012-03-10 12:46 UTC by macro
Modified: 2012-03-10 13:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Test source code (234 bytes, text/plain)
2012-03-10 12:46 UTC, macro
Details
Test doxygen.config (17 bytes, text/plain)
2012-03-10 12:47 UTC, macro
Details
Screenshot illustrating bug (37.19 KB, image/png)
2012-03-10 12:48 UTC, macro
Details

Description macro 2012-03-10 12:46:14 UTC
Markdown backticks incorrectly introduce backslash characters before the less-than and greater-than characters in C# generic type names.


A generic type name formatted using <code>, <tt>, and backticks produces the following, respectively:

HTML <code> tags correctly yield:
MyGenericType<T>

HTML <tt> tags correctly yield:
MyGenericType<T>

Markdown backticks incorrectly yield:
MyGenericType\<T\>


Test source code, doxygen.config, and screenshot attached.
Comment 1 macro 2012-03-10 12:46:53 UTC
Created attachment 209383 [details]
Test source code
Comment 2 macro 2012-03-10 12:47:15 UTC
Created attachment 209384 [details]
Test doxygen.config
Comment 3 macro 2012-03-10 12:48:11 UTC
Created attachment 209386 [details]
Screenshot illustrating bug
Comment 4 Dimitri van Heesch 2012-03-10 13:18:07 UTC
The use of \< in itself is not wrong. It is even needed in case the part within brackets would otherwise be a valid HTML command, i.e.

MyGenericType<BR>

can be interpreted as a word followed by a line break, rather than a generic type.

But showing the backticks as a verbatim section is a bug (#671709) and will also reveal the backslashes. Fixing that bug will also fix this one, so I'll mark this as a duplicate.

*** This bug has been marked as a duplicate of bug 671709 ***