From f7de92f16fe3e617c1897e03cc400a4a56e8da34 Mon Sep 17 00:00:00 2001 From: albert-github Date: Thu, 1 Aug 2019 16:00:09 +0200 Subject: 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`). --- src/markdown.cpp | 1 + 1 file changed, 1 insertion(+) 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(); -- cgit v0.12