diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2015-04-06 13:51:37 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2015-04-06 13:51:37 (GMT) |
commit | 5cdf62661c88b5f0c135337da4d6e58581aad037 (patch) | |
tree | 4287ff68fdf585148ecc0f64a755adbe8d6eda3d /src | |
parent | 0831c71c05c9204839e187759f13303e64783730 (diff) | |
download | Doxygen-5cdf62661c88b5f0c135337da4d6e58581aad037.zip Doxygen-5cdf62661c88b5f0c135337da4d6e58581aad037.tar.gz Doxygen-5cdf62661c88b5f0c135337da4d6e58581aad037.tar.bz2 |
Bug 747111 - Table of content incorrect with escaped symbols
Diffstat (limited to 'src')
-rw-r--r-- | src/definition.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/definition.cpp b/src/definition.cpp index 99a77b5..457c6ea 100644 --- a/src/definition.cpp +++ b/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; } |