Skip to content

Commit

Permalink
Fix id parsing for atx markdown headers
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
randomguy3 authored and Alex Merry committed Mar 18, 2014
1 parent 683ef76 commit ee830bb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/markdown.cpp
Expand Up @@ -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;
}
Expand Down

0 comments on commit ee830bb

Please sign in to comment.