Permalink
Browse files

Bug 747111 - Table of content incorrect with escaped symbols

  • Loading branch information...
Dimitri van Heesch
Dimitri van Heesch committed Apr 6, 2015
1 parent 0831c71 commit 5cdf62661c88b5f0c135337da4d6e58581aad037
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/definition.cpp
@@ -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;
}

0 comments on commit 5cdf626

Please sign in to comment.