summaryrefslogtreecommitdiffstats
path: root/src/memberdef.cpp
diff options
context:
space:
mode:
authoravostrik <avostrik@users.noreply.github.com>2020-04-01 17:36:43 (GMT)
committerGitHub <noreply@github.com>2020-04-01 17:36:43 (GMT)
commite40d6588c22f465d9cdd17a58f089031ebab581b (patch)
tree03ba3b2f4b82d6aa5d13b7ce23c13784477c7079 /src/memberdef.cpp
parentb4b47b3919650d7350acc9fe59becaee4a3d5ff5 (diff)
downloadDoxygen-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/memberdef.cpp')
-rw-r--r--src/memberdef.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/memberdef.cpp b/src/memberdef.cpp
index 6d98311..39b8f70 100644
--- a/src/memberdef.cpp
+++ b/src/memberdef.cpp
@@ -4544,7 +4544,7 @@ void MemberDefImpl::writeTagFile(FTextStream &tagFile) const
tagFile << " <type>" << convertToXML(typeString()) << "</type>" << endl;
}
tagFile << " <name>" << convertToXML(name()) << "</name>" << endl;
- tagFile << " <anchorfile>" << convertToXML(getOutputFileBase()+Doxygen::htmlFileExtension) << "</anchorfile>" << endl;
+ tagFile << " <anchorfile>" << convertToXML(getOutputFileBase()) << Doxygen::htmlFileExtension << "</anchorfile>" << endl;
tagFile << " <anchor>" << convertToXML(anchor()) << "</anchor>" << endl;
QCString idStr = id();
if (!idStr.isEmpty())