diff options
author | Juan Rada-Vilela <jcrada@fuzzylite.com> | 2015-07-12 20:13:49 (GMT) |
---|---|---|
committer | Juan Rada-Vilela <jcrada@fuzzylite.com> | 2015-07-12 20:14:36 (GMT) |
commit | 08aa01cb0ee9b2dd6403f753156d8b58d8e62145 (patch) | |
tree | 7fb9726673b8eaa945335c45130c71723f4f979b /src/htmldocvisitor.cpp | |
parent | 23e84ea6a3d89e1dec704ddbb7e7a2241f984a64 (diff) | |
download | Doxygen-08aa01cb0ee9b2dd6403f753156d8b58d8e62145.zip Doxygen-08aa01cb0ee9b2dd6403f753156d8b58d8e62145.tar.gz Doxygen-08aa01cb0ee9b2dd6403f753156d8b58d8e62145.tar.bz2 |
Fixes bug 485701: Angle brackets (< and >) not escaped in HTML formula alt text
Diffstat (limited to 'src/htmldocvisitor.cpp')
-rw-r--r-- | src/htmldocvisitor.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/htmldocvisitor.cpp b/src/htmldocvisitor.cpp index 99d6fdd..d8913e1 100644 --- a/src/htmldocvisitor.cpp +++ b/src/htmldocvisitor.cpp @@ -1902,6 +1902,8 @@ void HtmlDocVisitor::filterQuotedCdataAttr(const char* str) { case '&': m_t << "&"; break; case '"': m_t << """; break; + case '<': m_t << "<"; break; + case '>': m_t << ">"; break; // For SGML compliance, and given the SGML declaration for HTML syntax, // it's enough to replace these two, provided that the declaration // for the HTML version we generate (and as supported by the browser) |