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

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
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;
}