summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2015-08-12 10:48:48 (GMT)
committeralbert-github <albert.tests@gmail.com>2015-08-12 10:48:48 (GMT)
commit6004d659c1ca280acc6588351176be63b55faf70 (patch)
tree81af396535a552452b7f7e8820885e522738f30b /src
parent625e7a17bc708a32d52158ac24e7308c9d62fe84 (diff)
downloadDoxygen-6004d659c1ca280acc6588351176be63b55faf70.zip
Doxygen-6004d659c1ca280acc6588351176be63b55faf70.tar.gz
Doxygen-6004d659c1ca280acc6588351176be63b55faf70.tar.bz2
Bug 646002 - htmlonly content appears in generated XML output
All the @*only comments appear in the xml document. In the other document formats only documentation of the relevant @*only (in HTML only @htmlonly) appears. This patch corrects this so only the @xmlonly documentation appears.
Diffstat (limited to 'src')
-rw-r--r--src/xmldocvisitor.cpp22
1 files changed, 2 insertions, 20 deletions
diff --git a/src/xmldocvisitor.cpp b/src/xmldocvisitor.cpp
index 27f7274..c5550f0 100644
--- a/src/xmldocvisitor.cpp
+++ b/src/xmldocvisitor.cpp
@@ -223,33 +223,15 @@ void XmlDocVisitor::visit(DocVerbatim *s)
m_t << "</verbatim>";
break;
case DocVerbatim::HtmlOnly:
- m_t << "<htmlonly>";
- filter(s->text());
- m_t << "</htmlonly>";
- break;
case DocVerbatim::RtfOnly:
- m_t << "<rtfonly>";
- filter(s->text());
- m_t << "</rtfonly>";
- break;
case DocVerbatim::ManOnly:
- m_t << "<manonly>";
- filter(s->text());
- m_t << "</manonly>";
- break;
case DocVerbatim::LatexOnly:
- m_t << "<latexonly>";
- filter(s->text());
- m_t << "</latexonly>";
+ case DocVerbatim::DocbookOnly:
+ /* nothing */
break;
case DocVerbatim::XmlOnly:
m_t << s->text();
break;
- case DocVerbatim::DocbookOnly:
- m_t << "<docbookonly>";
- filter(s->text());
- m_t << "</docbookonly>";
- break;
case DocVerbatim::Dot:
visitPreStart(m_t, "dot", s->hasCaption(), this, s->children(), QCString(""), FALSE, DocImage::Html, s->width(), s->height());
filter(s->text());