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 674851 - Percent to prevent auto-linking in page title is not removed for navpath
Percent to prevent auto-linking in page title is not removed for navpath
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.8.0-SVN
Other Windows
: Normal minor
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2012-04-26 08:18 UTC by Michael Stieler
Modified: 2014-04-22 17:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Self contained example (107.86 KB, application/x-zip-compressed)
2012-05-02 15:16 UTC, Michael Stieler
Details
Self contained example (107.86 KB, application/x-zip-compressed)
2012-05-02 15:32 UTC, Michael Stieler
Details
Example that actually shows the problem (146.96 KB, application/x-zip-compressed)
2014-02-12 23:52 UTC, Michael Stieler
Details

Description Michael Stieler 2012-04-26 08:18:48 UTC
If a page title contains a class name, such as Client documentation, you can easily prevent the auto-linking by writing %Client documentation. The percent sign is stripped before output.

However, when viewing a sub-page in HTML, the navbar / breadcrumb shows the name with the percent sign.
Comment 1 Dimitri van Heesch 2012-04-30 19:30:22 UTC
Can you please attach a self-contained example (source+config file in a tar or zip) that allows me to reproduce the problem?
Comment 2 Michael Stieler 2012-05-02 15:16:41 UTC
Created attachment 213301 [details]
Self contained example

In page.txt there is a

%AutoLinkClass 

to prevent the title in justapage.html to link to the class.

However, in justasubpage.html the percent sign is shown in the navbar.
Comment 3 Michael Stieler 2012-05-02 15:32:40 UTC
Created attachment 213302 [details]
Self contained example

Update config file
Comment 4 Akhil Laddha 2012-06-18 16:15:45 UTC
Information provided.
Comment 5 albert 2013-12-26 15:06:10 UTC
I tried to reproduce the problem but in none of the files provided I could find %AutoLinkClass. I couldn't find justapage.html or justasubpage.html either.

Can you test the problem with the newest version of doxygen and if the problem still exists provide an (new) self-contained example
(source+config file in a zip or tar).
Comment 6 Michael Stieler 2014-02-12 23:52:24 UTC
Created attachment 268963 [details]
Example that actually shows the problem
Comment 7 Michael Stieler 2014-02-12 23:57:35 UTC
Sorry, it seems like I attached an example demonstrating another bug reported by me (#674772). I modified it slightly and tested it with the current version of Doxygen (1.8.6) and the problem still persists.

Please open doc/html/index.html in the archive and navigate to Related pages. You will see that the list shows "%DoxygenAutoLinkBug.MyEnum". The % is prefixed to prevent automatic linking to the content in the heading of the page. However the % shows up both in Related pages list and in HTML <title> of the actual page.

I think the problem is that there is no "clean" way to prevent auto linking in headings then.
Comment 8 albert 2014-02-17 19:11:13 UTC
I've just submitted a patch to github, pull request 121.
Comment 9 Dimitri van Heesch 2014-04-22 17:23:41 UTC
Should be fixed in release 1.8.7.