summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2019-08-01 14:00:09 (GMT)
committeralbert-github <albert.tests@gmail.com>2019-08-01 14:00:09 (GMT)
commitf7de92f16fe3e617c1897e03cc400a4a56e8da34 (patch)
tree0f291b3fd0964de55de1ec5218d5f74673c241fe
parentf16a63d6d5d9fd11a2f1c57bdfad7f1d4b175f0e (diff)
downloadDoxygen-f7de92f16fe3e617c1897e03cc400a4a56e8da34.zip
Doxygen-f7de92f16fe3e617c1897e03cc400a4a56e8da34.tar.gz
Doxygen-f7de92f16fe3e617c1897e03cc400a4a56e8da34.tar.bz2
issue #7151 Doxygen 1.8.15 TOC_INCLUDE_HEADINGS >0 stops html links being generated in markdown
Don't create autotoc generated ids for pages. (the `\ref` problem also occurred with `\subage`).
-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();