summaryrefslogtreecommitdiffstats
path: root/src/htmlgen.cpp
diff options
context:
space:
mode:
authorAustin Hale <32556981+austinbhale@users.noreply.github.com>2018-07-11 14:23:57 (GMT)
committerGitHub <noreply@github.com>2018-07-11 14:23:57 (GMT)
commit30362ecc6da4123a9d87e9c74a6918aa23cc1403 (patch)
treed401f1ea83871b6b595ed53e7ae2095f4f83a2fa /src/htmlgen.cpp
parente8df803558f974dffc0b3d299d316c67a583251b (diff)
downloadDoxygen-30362ecc6da4123a9d87e9c74a6918aa23cc1403.zip
Doxygen-30362ecc6da4123a9d87e9c74a6918aa23cc1403.tar.gz
Doxygen-30362ecc6da4123a9d87e9c74a6918aa23cc1403.tar.bz2
PATCH -- updates reference link with no closing
For external tagfiles, there is an issue with the links being provided from the file list. Whenever there is a reference in HtmlGenerator::startIndexItem, the href had never been closed with an end quote and close bracket. For example, this addition addresses the following issue beginning at href: <td class="entry"><span style="width:16px;display:inline-block;">&nbsp;</span><span class="icondoc"></span><a class="elRef" doxygen="/path/to/external/example.tag:../../external/html/" href="../../external/html/file.htmlfile.h&lt;/a&gt;&nbsp;[external]&lt;/td&gt;&lt;td class=" desc"=""></a></td> Since the file path is true for ref and not f, the proposed changes will provide an external link to the tagfile beside the icon. Running Doxygen 1.8.14 on HP-UX B.11.31.
Diffstat (limited to 'src/htmlgen.cpp')
-rw-r--r--src/htmlgen.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/htmlgen.cpp b/src/htmlgen.cpp
index 32eaff6..121106a 100644
--- a/src/htmlgen.cpp
+++ b/src/htmlgen.cpp
@@ -1117,7 +1117,8 @@ void HtmlGenerator::startIndexItem(const char *ref,const char *f)
}
t << "href=\"";
t << externalRef(relPath,ref,TRUE);
- if (f) t << f << Doxygen::htmlFileExtension << "\">";
+ if (f) t << f << Doxygen::htmlFileExtension;
+ t << "\">";
}
else
{