summaryrefslogtreecommitdiffstats
path: root/src/xmldocvisitor.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-08-04 18:22:01 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-08-04 18:22:01 (GMT)
commitcfde6cdd600b21bba6a2eb0ca0e7e208e014ccaf (patch)
treeb7ed973b503198225428fd3a0acb9a58467c5f40 /src/xmldocvisitor.cpp
parenta36ddbe0ee97c5ee248b7b391b4c30fd4b3c884b (diff)
downloadDoxygen-cfde6cdd600b21bba6a2eb0ca0e7e208e014ccaf.zip
Doxygen-cfde6cdd600b21bba6a2eb0ca0e7e208e014ccaf.tar.gz
Doxygen-cfde6cdd600b21bba6a2eb0ca0e7e208e014ccaf.tar.bz2
Bug 728740 - XML Output: Doxygen doesn’t escape & characters (included in a hyperlink) in <detaileddescription>
Diffstat (limited to 'src/xmldocvisitor.cpp')
-rw-r--r--src/xmldocvisitor.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xmldocvisitor.cpp b/src/xmldocvisitor.cpp
index c36042b..343926c 100644
--- a/src/xmldocvisitor.cpp
+++ b/src/xmldocvisitor.cpp
@@ -651,7 +651,9 @@ void XmlDocVisitor::visitPost(DocInternal *)
void XmlDocVisitor::visitPre(DocHRef *href)
{
if (m_hide) return;
- m_t << "<ulink url=\"" << href->url() << "\">";
+ m_t << "<ulink url=\"";
+ filter(href->url());
+ m_t << "\">";
}
void XmlDocVisitor::visitPost(DocHRef *)