New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inline markdown links don't support reference targets that contain ) (Origin: bugzilla #756724) #5888

Closed
doxygen opened this Issue Jul 2, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@doxygen
Owner

doxygen commented Jul 2, 2018

status RESOLVED severity normal in component general for ---
Reported in version 1.8.10 on platform Other
Assigned to: Dimitri van Heesch

On 2015-10-16 23:10:48 +0000, David Haney wrote:

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")

On 2015-10-18 09:55:28 +0000, Dimitri van Heesch wrote:

Confirmed. Should be fixed in the next GIT update.

On 2015-12-30 10:19:30 +0000, Dimitri van Heesch wrote:

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).

@doxygen doxygen closed this Jul 2, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment