summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-10-12 18:17:06 (GMT)
committerGitHub <noreply@github.com>2020-10-12 18:17:06 (GMT)
commit81c49bb6e331a13567dc939be4fc6f637192cc19 (patch)
tree7bb58979384843f88abdb03341ef486816ffe250 /src
parent8094f5f5cb5e4dad161fb4106cb26b125f184ad9 (diff)
parenta05a7ae2e65b9e438327d4a50c81df18f2b49a4d (diff)
downloadDoxygen-81c49bb6e331a13567dc939be4fc6f637192cc19.zip
Doxygen-81c49bb6e331a13567dc939be4fc6f637192cc19.tar.gz
Doxygen-81c49bb6e331a13567dc939be4fc6f637192cc19.tar.bz2
Merge pull request #8079 from albert-github/feature/issue_8078
issue #8078 Warning and extra text when using Markdown as mainpage
Diffstat (limited to 'src')
-rw-r--r--src/markdown.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/markdown.cpp b/src/markdown.cpp
index 5c45e6e..15e18bc 100644
--- a/src/markdown.cpp
+++ b/src/markdown.cpp
@@ -2663,7 +2663,7 @@ QCString markdownFileNameToId(const QCString &fileName)
QCString baseFn = stripFromPath(QFileInfo(fileName).absFilePath().utf8());
int i = baseFn.findRev('.');
if (i!=-1) baseFn = baseFn.left(i);
- QCString baseName = substitute(substitute(substitute(baseFn," ","_"),"/","_"),":","_");
+ QCString baseName = substitute(substitute(substitute(substitute(baseFn," ","_"),"/","_"),":","_"),"@","_");
//printf("markdownFileNameToId(%s)=md_%s\n",qPrint(fileName),qPrint(baseName));
return "md_"+baseName;
}