From ee830bb8888535ac48c0c4fd90580542e7f70481 Mon Sep 17 00:00:00 2001 From: Alex Merry Date: Tue, 21 Jan 2014 01:22:23 +0000 Subject: 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. --- src/markdown.cpp | 1 - 1 file changed, 1 deletion(-) 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; } -- cgit v0.12