diff options
author | Martin Smith <martin.smith@nokia.com> | 2010-10-27 08:44:07 (GMT) |
---|---|---|
committer | Martin Smith <martin.smith@nokia.com> | 2010-10-27 08:44:07 (GMT) |
commit | 7ee572661f9de00b7b1bf0f24b0145e06077553f (patch) | |
tree | 40a1140c63b62354f4ca5807c9542b2a70088f4c /tools | |
parent | b65b6ac831ddfae4b9c08d26e5087d98ce9c0f2e (diff) | |
download | Qt-7ee572661f9de00b7b1bf0f24b0145e06077553f.zip Qt-7ee572661f9de00b7b1bf0f24b0145e06077553f.tar.gz Qt-7ee572661f9de00b7b1bf0f24b0145e06077553f.tar.bz2 |
doc: Fixed some DITA XML validation errors.
No links in the <title> text.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/qdoc3/ditaxmlgenerator.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/tools/qdoc3/ditaxmlgenerator.cpp b/tools/qdoc3/ditaxmlgenerator.cpp index 30d1d74..edb8677 100644 --- a/tools/qdoc3/ditaxmlgenerator.cpp +++ b/tools/qdoc3/ditaxmlgenerator.cpp @@ -1090,16 +1090,15 @@ int DitaXmlGenerator::generateAtom(const Atom *atom, .arg(atom->string()) .arg(marker->plainFullName(relative))); } -#if 0 - else if (noLinks) { - //xmlWriter().writeCharacters(atom->string()); - qDebug() << "MYLINK:" << myLink << outFileName() << atom->string(); + else if (!inSectionHeading) { + beginLink(myLink, node, relative, marker); } +#if 0 else { - beginLink(myLink, node, relative, marker); + //xmlWriter().writeCharacters(atom->string()); + //qDebug() << "MYLINK:" << myLink << outFileName() << atom->string(); } -#endif - beginLink(myLink, node, relative, marker); +#endif skipAhead = 1; } break; |