summaryrefslogtreecommitdiffstats
path: root/src/ftvhelp.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/ftvhelp.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/ftvhelp.cpp')
-rw-r--r--src/ftvhelp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ftvhelp.cpp b/src/ftvhelp.cpp
index c3aac54..cb50af1 100644
--- a/src/ftvhelp.cpp
+++ b/src/ftvhelp.cpp
@@ -259,7 +259,7 @@ static QCString node2URL(const FTVNode *n,bool overruleFile=FALSE,bool srcLink=F
url = fd->getOutputFileBase();
}
}
- url+=Doxygen::htmlFileExtension;
+ url = addHtmlExtensionIfMissing(url);
if (!n->anchor.isEmpty()) url+="#"+n->anchor;
}
return url;