diff options
author | Martin Smith <martin.smith@nokia.com> | 2010-12-09 12:16:48 (GMT) |
---|---|---|
committer | Martin Smith <martin.smith@nokia.com> | 2010-12-09 12:16:48 (GMT) |
commit | bdaab918e08f244bf397b1179358d5a54553b4c9 (patch) | |
tree | b5c881205007b5e706c50f811288ab899d343857 /tools | |
parent | 3ee5edeff7890c3fc1099029320f0fb038e7f81d (diff) | |
download | Qt-bdaab918e08f244bf397b1179358d5a54553b4c9.zip Qt-bdaab918e08f244bf397b1179358d5a54553b4c9.tar.gz Qt-bdaab918e08f244bf397b1179358d5a54553b4c9.tar.bz2 |
doc: Fixed the \raisedaster macro to write the <sup> element.
But only for the special case of "*".
Still, it got rid of a lot of raw-html cases.
More to come here.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/qdoc3/ditaxmlgenerator.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/qdoc3/ditaxmlgenerator.cpp b/tools/qdoc3/ditaxmlgenerator.cpp index abe247b..57a6e8d 100644 --- a/tools/qdoc3/ditaxmlgenerator.cpp +++ b/tools/qdoc3/ditaxmlgenerator.cpp @@ -1287,6 +1287,11 @@ int DitaXmlGenerator::generateAtom(const Atom *atom, break; if (atom->string().startsWith("&")) writeCharacters(atom->string()); + else if (atom->string() == "<sup>*</sup>") { + xmlWriter().writeStartElement("sup"); + writeCharacters("*"); + xmlWriter().writeEndElement(); // </sup> + } else { xmlWriter().writeStartElement("pre"); xmlWriter().writeAttribute("outputclass","raw-html"); |