From ba9a873b8cfa84c5e1d31fb62327184f43864c26 Mon Sep 17 00:00:00 2001 From: Dimitri van Heesch Date: Mon, 23 Dec 2013 22:50:52 +0100 Subject: Bug 719389 - HTML escaping incorrectly applied in source tooltips --- src/htmlgen.cpp | 6 +++--- 1 file 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 << "
"; @@ -1417,7 +1417,7 @@ void HtmlCodeGenerator::writeTooltip(const char *id, const DocLinkInfo &docInfo, if (desc) { m_t << "
"; - docify(desc); + m_t << desc; // desc is already HTML escaped m_t << "
"; } if (!defInfo.file.isEmpty()) -- cgit v0.12