diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2014-04-19 18:12:41 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2014-04-19 18:12:41 (GMT) |
commit | bc61f00f142792dfbe97c361d9fecd3ea2850f5e (patch) | |
tree | 153b4dc25d3fd26e67807031bceabeecd5bef4da /src | |
parent | 653a2a8b123b79835af9f684f8b92ef7f88712aa (diff) | |
download | Doxygen-bc61f00f142792dfbe97c361d9fecd3ea2850f5e.zip Doxygen-bc61f00f142792dfbe97c361d9fecd3ea2850f5e.tar.gz Doxygen-bc61f00f142792dfbe97c361d9fecd3ea2850f5e.tar.bz2 |
Bug 692985 - Notes in xml output are not correctly separated
Diffstat (limited to 'src')
-rw-r--r-- | src/compound.xsd | 1 | ||||
-rw-r--r-- | src/xmldocvisitor.cpp | 8 |
2 files changed, 6 insertions, 3 deletions
diff --git a/src/compound.xsd b/src/compound.xsd index a1c9784..2521a2e 100644 --- a/src/compound.xsd +++ b/src/compound.xsd @@ -473,7 +473,6 @@ <xsd:element name="title" type="docTitleType" minOccurs="0" /> <xsd:sequence minOccurs="0" maxOccurs="unbounded"> <xsd:element name="para" type="docParaType" minOccurs="1" maxOccurs="unbounded" /> - <xsd:element name="simplesectsep" type="docEmptyType" minOccurs="0"/> </xsd:sequence> </xsd:sequence> <xsd:attribute name="kind" type="DoxSimpleSectKind" /> diff --git a/src/xmldocvisitor.cpp b/src/xmldocvisitor.cpp index cab4578..f74a6a2 100644 --- a/src/xmldocvisitor.cpp +++ b/src/xmldocvisitor.cpp @@ -337,9 +337,13 @@ void XmlDocVisitor::visit(DocIndexEntry *ie) "</indexentry>"; } -void XmlDocVisitor::visit(DocSimpleSectSep *) +void XmlDocVisitor::visit(DocSimpleSectSep *sep) { - m_t << "<simplesectsep/>"; + if (sep->parent() && sep->parent()->kind()==DocNode::Kind_SimpleSect) + { + visitPost((DocSimpleSect*)sep->parent()); // end current section + visitPre((DocSimpleSect*)sep->parent()); // start new section + } } void XmlDocVisitor::visit(DocCite *cite) |