diff options
author | Austin Hale <32556981+austinbhale@users.noreply.github.com> | 2018-07-11 14:23:57 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-11 14:23:57 (GMT) |
commit | 30362ecc6da4123a9d87e9c74a6918aa23cc1403 (patch) | |
tree | d401f1ea83871b6b595ed53e7ae2095f4f83a2fa /src/htmlgen.cpp | |
parent | e8df803558f974dffc0b3d299d316c67a583251b (diff) | |
download | Doxygen-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;"> </span><span class="icondoc"></span><a class="elRef" doxygen="/path/to/external/example.tag:../../external/html/" href="../../external/html/file.htmlfile.h</a> [external]</td><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.cpp | 3 |
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 { |