diff options
-rw-r--r-- | src/htmlgen.cpp | 2 | ||||
-rw-r--r-- | src/textdocvisitor.cpp | 5 |
2 files changed, 1 insertions, 6 deletions
diff --git a/src/htmlgen.cpp b/src/htmlgen.cpp index 740b2f5..32eaff6 100644 --- a/src/htmlgen.cpp +++ b/src/htmlgen.cpp @@ -606,7 +606,7 @@ void HtmlCodeGenerator::writeTooltip(const char *id, const DocLinkInfo &docInfo, if (desc) { m_t << "<div class=\"ttdoc\">"; - docify(desc); // desc is already HTML escaped; but there are still < and > signs + docify(desc); m_t << "</div>"; } if (!defInfo.file.isEmpty()) diff --git a/src/textdocvisitor.cpp b/src/textdocvisitor.cpp index 8c8ecad..c899232 100644 --- a/src/textdocvisitor.cpp +++ b/src/textdocvisitor.cpp @@ -50,11 +50,6 @@ void TextDocVisitor::filter(const char *str) switch(c) { case '\n': m_t << " "; break; - case '"': m_t << """; break; - case '\'': m_t << "'"; break; - case '<': m_t << "<"; break; - case '>': m_t << ">"; break; - case '&': m_t << "&"; break; default: m_t << c; } } |