diff options
author | albert-github <albert.tests@gmail.com> | 2018-07-13 12:22:13 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2018-07-13 12:22:13 (GMT) |
commit | 135412e4e9af74cda860205b4c8104098c2b65aa (patch) | |
tree | 2d287c8a898bf9f402b74cea1c58c9f43f249d1e /src | |
parent | e8df803558f974dffc0b3d299d316c67a583251b (diff) | |
download | Doxygen-135412e4e9af74cda860205b4c8104098c2b65aa.zip Doxygen-135412e4e9af74cda860205b4c8104098c2b65aa.tar.gz Doxygen-135412e4e9af74cda860205b4c8104098c2b65aa.tar.bz2 |
Wrong link generated for inherited members when tag files are used.
In case a tag file is used and `EXT_LINKS_IN_WINDOW` is set to `YES` a link is generated of the form:
`Public Member Functions inherited from <a class="el" href="target="_blank" https://doc.qt.io/archives/qt-5.10/qobject.html">`
instead of
`Public Member Functions inherited from <a class="el" target="_blank" href="https://doc.qt.io/archives/qt-5.10/qobject.html">`
When `EXT_LINKS_IN_WINDOW` is set to `NO` a correct link is generated but the external documentation comes straight forward in the current window.
(relevant link: https://stackoverflow.com/questions/51323207/doxygen-external-link-to-qt-classes)
Diffstat (limited to 'src')
-rw-r--r-- | src/htmlgen.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/htmlgen.cpp b/src/htmlgen.cpp index 32eaff6..98f39a6 100644 --- a/src/htmlgen.cpp +++ b/src/htmlgen.cpp @@ -2717,13 +2717,16 @@ void HtmlGenerator::writeInheritedSectionTitle( DBG_HTML(t << "<!-- writeInheritedSectionTitle -->" << endl;) QCString a = anchor; if (!a.isEmpty()) a.prepend("#"); - QCString classLink = QCString("<a class=\"el\" href=\""); + QCString classLink = QCString("<a class=\"el\" "); if (ref) { - classLink+= externalLinkTarget() + externalRef(relPath,ref,TRUE); + classLink+= externalLinkTarget(); + classLink += " href=\""; + classLink+= externalRef(relPath,ref,TRUE); } else { + classLink += "href=\""; classLink+=relPath; } classLink+=file+Doxygen::htmlFileExtension+a; |