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 756724 - Inline markdown links don't support reference targets that contain )
Inline markdown links don't support reference targets that contain )
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.8.10
Other Windows
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2015-10-16 23:10 UTC by David Haney
Modified: 2015-12-30 10:19 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description David Haney 2015-10-16 23:10:48 UTC
The following example demonstrates a problem with inline markdown links that reference targets with ) in them:

/**
 * X
 */
class X {
public:
    /**
     * func
     */
    void func();

    /**
     * call
     */
    void operator()();
};

/**
 * [func](\ref X::func)
 *
 * [func](\ref X::func())
 *
 * [func](\ref X::operator()())
 *
 * [func][1]
 *
 * [func][2]
 *
 * [func][3]
 *
 * [1]: \ref X::func
 * [2]: \ref X::func()
 * [3]: \ref X::operator()()
 */
class Y {
};


For all of the reference links, everything is fine, however for the inline links, it appears that the parsing stops at the first ) encountered, resulting in some mangled output when converted to doxygen markup. For example the second link about is translated as:

\ref X::func( "func")
Comment 1 Dimitri van Heesch 2015-10-18 09:55:28 UTC
Confirmed. Should be fixed in the next GIT update.
Comment 2 Dimitri van Heesch 2015-12-30 10:19:30 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.11. 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 (preferably in the form of a self-contained example).