summaryrefslogtreecommitdiffstats
path: root/src/xmldocvisitor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmldocvisitor.cpp')
-rw-r--r--src/xmldocvisitor.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/xmldocvisitor.cpp b/src/xmldocvisitor.cpp
index 2813d65..7e56b12 100644
--- a/src/xmldocvisitor.cpp
+++ b/src/xmldocvisitor.cpp
@@ -1,6 +1,6 @@
/******************************************************************************
*
- *
+ * $Id$
*
*
* Copyright (C) 1997-2007 by Dimitri van Heesch.
@@ -108,7 +108,8 @@ void XmlDocVisitor::visit(DocURL *u)
if (m_hide) return;
m_t << "<ulink url=\"";
if (u->isEmail()) m_t << "mailto:";
- m_t << u->url() << "\">";
+ filter(u->url());
+ m_t << "\">";
filter(u->url());
m_t << "</ulink>";
}