summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDavid Boddie <david.boddie@nokia.com>2010-12-14 15:05:30 (GMT)
committerDavid Boddie <david.boddie@nokia.com>2010-12-14 15:05:30 (GMT)
commitbf835c2e69b3bc37145e572f68554bf771eeec3f (patch)
tree4a8787dd5d359eda619b15ba6dcbb85eb78a084b /tools
parenta8fb1076935a0eb58f803477ed246dc237624370 (diff)
downloadQt-bf835c2e69b3bc37145e572f68554bf771eeec3f.zip
Qt-bf835c2e69b3bc37145e572f68554bf771eeec3f.tar.gz
Qt-bf835c2e69b3bc37145e572f68554bf771eeec3f.tar.bz2
Treat div elements like paragraphs.
Diffstat (limited to 'tools')
-rw-r--r--tools/qdoc3/doc.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/qdoc3/doc.cpp b/tools/qdoc3/doc.cpp
index 8d4d0ee..ce9e30d 100644
--- a/tools/qdoc3/doc.cpp
+++ b/tools/qdoc3/doc.cpp
@@ -562,6 +562,8 @@ void DocParser::parse(const QString& source,
leavePara();
x = getArgument(true);
append(Atom::Div, x);
+ openedCommands.push(cmd);
+ enterPara();
break;
case CMD_CODELINE:
{
@@ -631,6 +633,7 @@ void DocParser::parse(const QString& source,
closeCommand(cmd);
break;
case CMD_ENDDIV:
+ leavePara();
append(Atom::EndDiv);
closeCommand(cmd);
break;