summaryrefslogtreecommitdiffstats
path: root/src/xmldocvisitor.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-10-20 18:23:06 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-10-20 18:23:06 (GMT)
commit7c34dd2b1594925d0a012e9ba290bf9c80574db5 (patch)
tree63a7ba72ad4f8318f818aebfef29beee5811c241 /src/xmldocvisitor.cpp
parent2c6d31c8bf31028ba2f822c31f4812c2cecab306 (diff)
downloadDoxygen-7c34dd2b1594925d0a012e9ba290bf9c80574db5.zip
Doxygen-7c34dd2b1594925d0a012e9ba290bf9c80574db5.tar.gz
Doxygen-7c34dd2b1594925d0a012e9ba290bf9c80574db5.tar.bz2
Release-1.2.18-20021020
Diffstat (limited to 'src/xmldocvisitor.cpp')
-rw-r--r--src/xmldocvisitor.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/xmldocvisitor.cpp b/src/xmldocvisitor.cpp
index e6cbd64..ca021c6 100644
--- a/src/xmldocvisitor.cpp
+++ b/src/xmldocvisitor.cpp
@@ -152,9 +152,9 @@ void XmlDocVisitor::visit(DocVerbatim *s)
m_t << "</programlisting>";
break;
case DocVerbatim::Verbatim:
- m_t << "<preformatted>";
+ m_t << "<verbatim>";
filter(s->text());
- m_t << "</preformatted>";
+ m_t << "</verbatim>";
break;
case DocVerbatim::HtmlOnly:
m_t << "<htmlonly>";
@@ -193,9 +193,9 @@ void XmlDocVisitor::visit(DocInclude *inc)
m_t << "</htmlonly>";
break;
case DocInclude::VerbInclude:
- m_t << "<preformatted>";
+ m_t << "<verbatim>";
filter(inc->text());
- m_t << "</preformatted>";
+ m_t << "</verbatim>";
break;
}
}
@@ -693,12 +693,14 @@ void XmlDocVisitor::visitPost(DocInternalRef *)
m_t << " ";
}
-void XmlDocVisitor::visitPre(DocCopy *)
+void XmlDocVisitor::visitPre(DocCopy *c)
{
+ m_t << "<copydoc link=\"" << c->link() << "\">";
}
void XmlDocVisitor::visitPost(DocCopy *)
{
+ m_t << "</copydoc>" << endl;
}
void XmlDocVisitor::visitPre(DocText *)