summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-06-10 07:52:09 (GMT)
committerGitHub <noreply@github.com>2019-06-10 07:52:09 (GMT)
commit8b090a65887519e8ba22d0225a023db3b64c5349 (patch)
tree69f71c2ba7ba823da0c12cc0fa686410ec9073ac
parentefbfb54c007d13ecfaa939829c80b75f1a67abf3 (diff)
parent38924a2423ce806357b66465ec39a35868c5cb71 (diff)
downloadDoxygen-8b090a65887519e8ba22d0225a023db3b64c5349.zip
Doxygen-8b090a65887519e8ba22d0225a023db3b64c5349.tar.gz
Doxygen-8b090a65887519e8ba22d0225a023db3b64c5349.tar.bz2
Merge pull request #7045 from albert-github/feature/issue_7043
issue #7043 html output for markdown: different output when using '# Header {#mainpage}' and 'Header {#mainpage}\n===='
-rw-r--r--src/markdown.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/markdown.cpp b/src/markdown.cpp
index 15f119b..8670642 100644
--- a/src/markdown.cpp
+++ b/src/markdown.cpp
@@ -2439,7 +2439,10 @@ static QCString extractPageTitle(QCString &docs,QCString &id)
{
docs=docs.mid(end1);
}
- id = extractTitleId(title, 0);
+ else
+ {
+ id = extractTitleId(title, 0);
+ }
//printf("extractPageTitle(title='%s' docs='%s' id='%s')\n",title.data(),docs.data(),id.data());
return title;
}