diff options
author | avostrik <avostrik@users.noreply.github.com> | 2020-04-01 17:36:43 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-01 17:36:43 (GMT) |
commit | e40d6588c22f465d9cdd17a58f089031ebab581b (patch) | |
tree | 03ba3b2f4b82d6aa5d13b7ce23c13784477c7079 /src/pagedef.cpp | |
parent | b4b47b3919650d7350acc9fe59becaee4a3d5ff5 (diff) | |
download | Doxygen-e40d6588c22f465d9cdd17a58f089031ebab581b.zip Doxygen-e40d6588c22f465d9cdd17a58f089031ebab581b.tar.gz Doxygen-e40d6588c22f465d9cdd17a58f089031ebab581b.tar.bz2 |
Fix html file ext in external docs (#7679)
* Add HTML extension to url conditionally in tree view item.
This change fixes issue with double extension in treeview file list items generated from external tag file.
Items that were read from tag file already have extension.
* Add missing HTML file extension in writeTagFile() calls
* Unify addition of HTML file extension in writeTagFile calls.
Signed-off-by: Andrey Vostrikov <andrey.vostrikov@cogentembedded.com>
Diffstat (limited to 'src/pagedef.cpp')
-rw-r--r-- | src/pagedef.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pagedef.cpp b/src/pagedef.cpp index 15d6ca8..011b647 100644 --- a/src/pagedef.cpp +++ b/src/pagedef.cpp @@ -162,7 +162,7 @@ void PageDefImpl::writeTagFile(FTextStream &tagFile) tagFile << " <compound kind=\"page\">" << endl; tagFile << " <name>" << name() << "</name>" << endl; tagFile << " <title>" << convertToXML(title()) << "</title>" << endl; - tagFile << " <filename>" << convertToXML(getOutputFileBase()) << "</filename>" << endl; + tagFile << " <filename>" << convertToXML(getOutputFileBase())<< Doxygen::htmlFileExtension << "</filename>" << endl; writeDocAnchorsToTagFile(tagFile); tagFile << " </compound>" << endl; } |