Skip to content

Commit a05a7ae

Browse files
committed
issue #8078 Warning and extra text when using Markdown as mainpage
Also replace the `@` in a label.
1 parent 2c7b7cb commit a05a7ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/markdown.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2661,7 +2661,7 @@ QCString markdownFileNameToId(const QCString &fileName)
26612661
QCString baseFn = stripFromPath(QFileInfo(fileName).absFilePath().utf8());
26622662
int i = baseFn.findRev('.');
26632663
if (i!=-1) baseFn = baseFn.left(i);
2664-
QCString baseName = substitute(substitute(substitute(baseFn," ","_"),"/","_"),":","_");
2664+
QCString baseName = substitute(substitute(substitute(substitute(baseFn," ","_"),"/","_"),":","_"),"@","_");
26652665
//printf("markdownFileNameToId(%s)=md_%s\n",qPrint(fileName),qPrint(baseName));
26662666
return "md_"+baseName;
26672667
}

0 commit comments

Comments
 (0)