summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-08-02 16:39:03 (GMT)
committerGitHub <noreply@github.com>2019-08-02 16:39:03 (GMT)
commit2d295f86b069db319fc6324f251ea6433033e6ca (patch)
tree0f291b3fd0964de55de1ec5218d5f74673c241fe
parentf16a63d6d5d9fd11a2f1c57bdfad7f1d4b175f0e (diff)
parentf7de92f16fe3e617c1897e03cc400a4a56e8da34 (diff)
downloadDoxygen-2d295f86b069db319fc6324f251ea6433033e6ca.zip
Doxygen-2d295f86b069db319fc6324f251ea6433033e6ca.tar.gz
Doxygen-2d295f86b069db319fc6324f251ea6433033e6ca.tar.bz2
Merge pull request #7153 from albert-github/feature/issue_7151
issue #7151 Doxygen 1.8.15 TOC_INCLUDE_HEADINGS >0 stops html links being generated in markdown
-rw-r--r--src/markdown.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/markdown.cpp b/src/markdown.cpp
index 8154b8f..ec04b21 100644
--- a/src/markdown.cpp
+++ b/src/markdown.cpp
@@ -2590,6 +2590,7 @@ void MarkdownFileParser::parseInput(const char *fileName,
QCString docs = fileBuf;
QCString id;
QCString title=extractPageTitle(docs,id).stripWhiteSpace();
+ if (QString(id).startsWith("autotoc_md")) id = "";
g_indentLevel=title.isEmpty() ? 0 : -1;
QCString titleFn = QFileInfo(fileName).baseName().utf8();
QCString fn = QFileInfo(fileName).fileName().utf8();