summaryrefslogtreecommitdiffstats
path: root/src/filedef.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-12-25 09:38:29 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2019-12-25 09:38:29 (GMT)
commitb294263f69f56feee519fb95d71e504ea7682c5e (patch)
tree456723a2d2f7ac707879e0eb99b9dbfc5d6565cf /src/filedef.cpp
parent8f0b7ebff445ff1fa42adbfbb1a90dce4ec777d9 (diff)
parentcbbd26b39cf63148b25d40498f0ab174e6094df7 (diff)
downloadDoxygen-b294263f69f56feee519fb95d71e504ea7682c5e.zip
Doxygen-b294263f69f56feee519fb95d71e504ea7682c5e.tar.gz
Doxygen-b294263f69f56feee519fb95d71e504ea7682c5e.tar.bz2
Merge branch 'feature/bug_335614' of https://github.com/albert-github/doxygen into albert-github-feature/bug_335614
Diffstat (limited to 'src/filedef.cpp')
-rw-r--r--src/filedef.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filedef.cpp b/src/filedef.cpp
index e028bab..6556372 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(getOutputFileBase()) << "</filename>" << endl;
+ tagFile << " <filename>" << convertToXML(getOutputFileBase()) << (hasExtension(getOutputFileBase()) ? "" : Doxygen::htmlFileExtension) << "</filename>" << endl;
if (m_includeList && m_includeList->count()>0)
{
QListIterator<IncludeInfo> ili(*m_includeList);