summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2013-12-23 21:50:52 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2013-12-23 21:50:52 (GMT)
commitba9a873b8cfa84c5e1d31fb62327184f43864c26 (patch)
tree3cd5c4e0e4139c8438c83817d1fa8ce3cf678d13
parentc5ec90d1780c95cd699225ff16627e96f993b179 (diff)
downloadDoxygen-ba9a873b8cfa84c5e1d31fb62327184f43864c26.zip
Doxygen-ba9a873b8cfa84c5e1d31fb62327184f43864c26.tar.gz
Doxygen-ba9a873b8cfa84c5e1d31fb62327184f43864c26.tar.bz2
Bug 719389 - HTML escaping incorrectly applied in source tooltips
-rw-r--r--src/htmlgen.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/htmlgen.cpp b/src/htmlgen.cpp
index 920c199..059d0e7 100644
--- a/src/htmlgen.cpp
+++ b/src/htmlgen.cpp
@@ -1385,8 +1385,8 @@ void HtmlCodeGenerator::_writeCodeLink(const char *className,
}
void HtmlCodeGenerator::writeTooltip(const char *id, const DocLinkInfo &docInfo,
- const char *decl, const char *desc,
- const SourceLinkInfo &defInfo,
+ const char *decl, const char *desc,
+ const SourceLinkInfo &defInfo,
const SourceLinkInfo &declInfo)
{
m_t << "<div class=\"ttc\" id=\"" << id << "\">";
@@ -1417,7 +1417,7 @@ void HtmlCodeGenerator::writeTooltip(const char *id, const DocLinkInfo &docInfo,
if (desc)
{
m_t << "<div class=\"ttdoc\">";
- docify(desc);
+ m_t << desc; // desc is already HTML escaped
m_t << "</div>";
}
if (!defInfo.file.isEmpty())