summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-10-12 18:15:57 (GMT)
committerGitHub <noreply@github.com>2020-10-12 18:15:57 (GMT)
commit27f34ad61e37d53226cb9f5d806f3cf743cdb2e4 (patch)
treeb15d117de95e86dd1946395b92d11cf5c6cdd152
parent86904d5b9752d35ff83bab14969314913f945d5b (diff)
parente9d1556252ceea914f7ca98b85a365cd4af594fe (diff)
downloadDoxygen-27f34ad61e37d53226cb9f5d806f3cf743cdb2e4.zip
Doxygen-27f34ad61e37d53226cb9f5d806f3cf743cdb2e4.tar.gz
Doxygen-27f34ad61e37d53226cb9f5d806f3cf743cdb2e4.tar.bz2
Merge pull request #8088 from albert-github/feature/bug_md_pg_atx
Miscounting of lines in respect to page command (ATX header)
-rw-r--r--src/markdown.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/markdown.cpp b/src/markdown.cpp
index bd7751a..5c45e6e 100644
--- a/src/markdown.cpp
+++ b/src/markdown.cpp
@@ -2529,6 +2529,7 @@ QCString Markdown::extractPageTitle(QCString &docs,QCString &id, int &prepend)
}
if (i<end1 && isAtxHeader(data+i,end1-i,title,id,FALSE)>0)
{
+ docs+="\n";
docs+=docs_org.mid(end1);
}
else