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/filedef.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/filedef.cpp')
-rw-r--r-- | src/filedef.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filedef.cpp b/src/filedef.cpp index a60f4d8..45849dd 100644 --- a/src/filedef.cpp +++ b/src/filedef.cpp @@ -349,7 +349,7 @@ void FileDefImpl::writeTagFile(FTextStream &tagFile) tagFile << " <compound kind=\"file\">" << endl; tagFile << " <name>" << convertToXML(name()) << "</name>" << endl; tagFile << " <path>" << convertToXML(getPath()) << "</path>" << endl; - tagFile << " <filename>" << convertToXML(addHtmlExtensionIfMissing(getOutputFileBase())) << "</filename>" << endl; + tagFile << " <filename>" << convertToXML(getOutputFileBase()) << Doxygen::htmlFileExtension << "</filename>" << endl; if (m_includeList && m_includeList->count()>0) { QListIterator<IncludeInfo> ili(*m_includeList); |