Skip to content

Commit

Permalink
Bug 747111 - Table of content incorrect with escaped symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitri van Heesch committed Apr 6, 2015
1 parent 0831c71 commit 5cdf626
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/definition.cpp
Expand Up @@ -1667,7 +1667,8 @@ void Definition::writeToc(OutputList &ol)
}
cs[0]='0'+nextLevel;
if (inLi[nextLevel]) ol.writeString("</li>\n");
ol.writeString("<li class=\"level"+QCString(cs)+"\"><a href=\"#"+si->label+"\">"+(si->title.isEmpty()?si->label:si->title)+"</a>");
QCString titleDoc = convertToHtml(si->title);
ol.writeString("<li class=\"level"+QCString(cs)+"\"><a href=\"#"+si->label+"\">"+(si->title.isEmpty()?si->label:titleDoc)+"</a>");
inLi[nextLevel]=TRUE;
level = nextLevel;
}
Expand Down

0 comments on commit 5cdf626

Please sign in to comment.