summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2017-08-25 10:14:29 (GMT)
committeralbert-github <albert.tests@gmail.com>2017-08-25 10:14:29 (GMT)
commit0e8530e42b69c909ef2c26468b24dfb88cc0997f (patch)
tree022bbf132c979972320ef4602622496839526928
parent76d2c2f71602c7797ad8fdb7b22cedc37f998476 (diff)
downloadDoxygen-0e8530e42b69c909ef2c26468b24dfb88cc0997f.zip
Doxygen-0e8530e42b69c909ef2c26468b24dfb88cc0997f.tar.gz
Doxygen-0e8530e42b69c909ef2c26468b24dfb88cc0997f.tar.bz2
Bug 776870 - XML Parsing Error for operator<< methods when outputing to XHTML
The < sign in the title has to be escaped, especially in case of xhtml.
-rw-r--r--src/htmlgen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/htmlgen.cpp b/src/htmlgen.cpp
index 0cb7ab9..9eee19c 100644
--- a/src/htmlgen.cpp
+++ b/src/htmlgen.cpp
@@ -1589,8 +1589,8 @@ void HtmlGenerator::startMemberDoc( const char *clName, const char *memName,
{
DBG_HTML(t << "<!-- startMemberDoc -->" << endl;)
t << "\n<h2 class=\"memtitle\">"
- << "<span class=\"permalink\"><a href=\"#" << anchor << "\">&#9670;&nbsp;</a></span>"
- << title;
+ << "<span class=\"permalink\"><a href=\"#" << anchor << "\">&#9670;&nbsp;</a></span>";
+ docify(title);
if (memTotal>1)
{
t << " <span class=\"overload\">[" << memCount << "/" << memTotal <<"]</span>";