summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/qdoc3/ditaxmlgenerator.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/qdoc3/ditaxmlgenerator.cpp b/tools/qdoc3/ditaxmlgenerator.cpp
index 2d719cf37e..2e5652ccc7 100644
--- a/tools/qdoc3/ditaxmlgenerator.cpp
+++ b/tools/qdoc3/ditaxmlgenerator.cpp
@@ -1094,11 +1094,11 @@ int DitaXmlGenerator::generateAtom(const Atom *atom,
if (atom->next() != 0)
text = atom->next()->string();
if (fileName.isEmpty()) {
- xmlWriter().writeStartElement("font");
- xmlWriter().writeAttribute("color","red");
+ xmlWriter().writeStartElement("p");
+ xmlWriter().writeAttribute("outputclass","error");
xmlWriter().writeCharacters("[Missing image: ");
xmlWriter().writeCharacters(protectEnc(atom->string()));
- xmlWriter().writeEndElement(); // </font>
+ xmlWriter().writeEndElement(); // </p>
}
else {
xmlWriter().writeStartElement("fig");
@@ -1333,7 +1333,6 @@ int DitaXmlGenerator::generateAtom(const Atom *atom,
xmlWriter().writeEndElement(); // </blockquote>
break;
case Atom::RawString:
- qDebug() << "RAW:" << atom->string();
xmlWriter().writeCharacters(atom->string());
break;
case Atom::SectionLeft: