diff options
author | albert-github <albert.tests@gmail.com> | 2015-08-12 10:48:48 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2015-08-12 10:48:48 (GMT) |
commit | 6004d659c1ca280acc6588351176be63b55faf70 (patch) | |
tree | 81af396535a552452b7f7e8820885e522738f30b | |
parent | 625e7a17bc708a32d52158ac24e7308c9d62fe84 (diff) | |
download | Doxygen-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.
-rw-r--r-- | src/xmldocvisitor.cpp | 22 |
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()); |