diff options
Diffstat (limited to 'src/markdown.cpp')
-rw-r--r-- | src/markdown.cpp | 5 |
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; } |