summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@nokia.com>2011-01-12 11:13:28 (GMT)
committerMartin Smith <martin.smith@nokia.com>2011-01-12 11:13:28 (GMT)
commitfe8684d338a2344d890f1d5d57d58f21af877346 (patch)
tree3bababf14f049797c75fd56aac8f697ee2682e59 /tools
parentde01273493d6380ec8eaa2cc801dbe8939788d00 (diff)
downloadQt-fe8684d338a2344d890f1d5d57d58f21af877346.zip
Qt-fe8684d338a2344d890f1d5d57d58f21af877346.tar.gz
Qt-fe8684d338a2344d890f1d5d57d58f21af877346.tar.bz2
qdoc: Replaced many raw-html cases with \div {something}.
Only 22 raw-html uses remaining.
Diffstat (limited to 'tools')
-rw-r--r--tools/qdoc3/doc.cpp11
1 files changed, 4 insertions, 7 deletions
diff --git a/tools/qdoc3/doc.cpp b/tools/qdoc3/doc.cpp
index 4873d8b..f7f537c 100644
--- a/tools/qdoc3/doc.cpp
+++ b/tools/qdoc3/doc.cpp
@@ -562,24 +562,21 @@ void DocParser::parse(const QString& source,
case CMD_DIV:
x = getArgument(true);
leavePara();
- enterPara(Atom::DivLeft, Atom::DivRight,x);
-#if 0
if (x.contains('=')) {
- leavePara();
enterPara(Atom::DivLeft, Atom::DivRight,x);
+ openedCommands.push(cmd);
}
else {
- leavePara();
append(Atom::DivLeft, x);
openedCommands.push(cmd);
enterPara();
}
-#endif
+
break;
case CMD_ENDDIV:
leavePara();
- // append(Atom::DivRight);
- // closeCommand(cmd);
+ append(Atom::DivRight);
+ closeCommand(cmd);
break;
case CMD_CODELINE:
{