diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2013-05-30 20:13:37 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2013-05-30 20:13:37 (GMT) |
commit | 8295d3ffb8c112972fb13c2911b8a15e45498b6c (patch) | |
tree | 9a2eb0e2bf87afdcdc165909106658c0f27454b8 /src/xmlgen.cpp | |
parent | 1e7e76afce339b779c7c44bf3640b277586c1a5e (diff) | |
download | Doxygen-8295d3ffb8c112972fb13c2911b8a15e45498b6c.zip Doxygen-8295d3ffb8c112972fb13c2911b8a15e45498b6c.tar.gz Doxygen-8295d3ffb8c112972fb13c2911b8a15e45498b6c.tar.bz2 |
Bug 700646 - XML output does not handle HTML entities in titles
Diffstat (limited to 'src/xmlgen.cpp')
-rw-r--r-- | src/xmlgen.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/xmlgen.cpp b/src/xmlgen.cpp index b1bfc9c..f189831 100644 --- a/src/xmlgen.cpp +++ b/src/xmlgen.cpp @@ -1838,20 +1838,22 @@ static void generateXMLForPage(PageDef *pd,FTextStream &ti,bool isExample) QCString title; if (!pd->title().isEmpty() && pd->title().lower()!="notitle") { - title = filterTitle(Doxygen::mainPage->title()); + title = filterTitle(convertCharEntitiesToUTF8(Doxygen::mainPage->title())); } else { title = Config_getString("PROJECT_NAME"); } - t << " <title>" << convertToXML(title) << "</title>" << endl; + t << " <title>" << convertToXML(convertCharEntitiesToUTF8(title)) + << "</title>" << endl; } else { SectionInfo *si = Doxygen::sectionDict->find(pd->name()); if (si) { - t << " <title>" << convertToXML(si->title) << "</title>" << endl; + t << " <title>" << convertToXML(convertCharEntitiesToUTF8(si->title)) + << "</title>" << endl; } } writeInnerPages(pd->getSubPages(),t); |