diff options
author | Alex Merry <kde@randomguy3.me.uk> | 2014-01-21 01:22:23 (GMT) |
---|---|---|
committer | Alex Merry <alex.merry@kde.org> | 2014-03-18 14:24:16 (GMT) |
commit | ee830bb8888535ac48c0c4fd90580542e7f70481 (patch) | |
tree | 3fbf0110e5088b5372ad0dc335400f2dc1b9722e /src | |
parent | 683ef76f7bf1ba929f9c263064bb5f6c8e377275 (diff) | |
download | Doxygen-ee830bb8888535ac48c0c4fd90580542e7f70481.zip Doxygen-ee830bb8888535ac48c0c4fd90580542e7f70481.tar.gz Doxygen-ee830bb8888535ac48c0c4fd90580542e7f70481.tar.bz2 |
Fix id parsing for atx markdown headers
isAtxHeader() parses out the id and the title into the appropriate
variables. The subsequent call to extractTitleId() would then have the
trimmed title (without the id ref) as input, and hence always set id to
be empty.
Diffstat (limited to 'src')
-rw-r--r-- | src/markdown.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/markdown.cpp b/src/markdown.cpp index 9605f31..104c8de 100644 --- a/src/markdown.cpp +++ b/src/markdown.cpp @@ -2184,7 +2184,6 @@ static QCString extractPageTitle(QCString &docs,QCString &id) { docs=docs.mid(end1); } - id = extractTitleId(title); //printf("extractPageTitle(title='%s' docs='%s' id='%s')\n",title.data(),docs.data(),id.data()); return title; } |