Commit ee830bb8 authored by Alex Merry's avatar Alex Merry Committed by Alex Merry

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.
parent 683ef76f
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment