Skip to content

Commit

Permalink
Tooltip can still contain < and > signs
Browse files Browse the repository at this point in the history
< and > signs , when still present are converted so e.g. xhtml does not have a problem with it.
  • Loading branch information
albert-github committed Aug 2, 2015
1 parent 31c5aec commit 1df28fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/htmlgen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ void HtmlCodeGenerator::writeTooltip(const char *id, const DocLinkInfo &docInfo,
if (desc)
{
m_t << "<div class=\"ttdoc\">";
m_t << desc; // desc is already HTML escaped
docify(desc); // desc is already HTML escaped; but there are still < and > signs
m_t << "</div>";
}
if (!defInfo.file.isEmpty())
Expand Down

0 comments on commit 1df28fe

Please sign in to comment.