summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@nokia.com>2010-10-27 08:54:59 (GMT)
committerMartin Smith <martin.smith@nokia.com>2010-10-27 08:54:59 (GMT)
commit6a018c73d24594e7a78829e7607133f39eb33fd9 (patch)
treecb51c0cb5dc4b4bb484e7d4f1bda507d70cf02cb
parent7ee572661f9de00b7b1bf0f24b0145e06077553f (diff)
downloadQt-6a018c73d24594e7a78829e7607133f39eb33fd9.zip
Qt-6a018c73d24594e7a78829e7607133f39eb33fd9.tar.gz
Qt-6a018c73d24594e7a78829e7607133f39eb33fd9.tar.bz2
doc: Fixed some DITA XML validation errors.
No <br> elements allowed.
-rw-r--r--tools/qdoc3/ditaxmlgenerator.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/qdoc3/ditaxmlgenerator.cpp b/tools/qdoc3/ditaxmlgenerator.cpp
index edb8677..2cbbfd5 100644
--- a/tools/qdoc3/ditaxmlgenerator.cpp
+++ b/tools/qdoc3/ditaxmlgenerator.cpp
@@ -1021,7 +1021,6 @@ int DitaXmlGenerator::generateAtom(const Atom *atom,
xmlWriter().writeEndElement(); // </p>
generateSection(nlist, 0, marker, CodeMarker::Summary);
- xmlWriter().writeEmptyElement("br");
++pmap;
}
}
@@ -1079,7 +1078,7 @@ int DitaXmlGenerator::generateAtom(const Atom *atom,
inLegaleseText = false;
break;
case Atom::LineBreak:
- xmlWriter().writeEmptyElement("br");
+ //xmlWriter().writeEmptyElement("br");
break;
case Atom::Link:
{