summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2015-04-06 13:51:37 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2015-04-06 13:51:37 (GMT)
commit5cdf62661c88b5f0c135337da4d6e58581aad037 (patch)
tree4287ff68fdf585148ecc0f64a755adbe8d6eda3d /src
parent0831c71c05c9204839e187759f13303e64783730 (diff)
downloadDoxygen-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.cpp3
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;
}