Commit ba9a873b authored by Dimitri van Heesch's avatar Dimitri van Heesch

Bug 719389 - HTML escaping incorrectly applied in source tooltips

parent c5ec90d1
......@@ -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())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment