diff options
author | David Boddie <david.boddie@nokia.com> | 2010-12-14 15:05:30 (GMT) |
---|---|---|
committer | David Boddie <david.boddie@nokia.com> | 2010-12-14 15:05:30 (GMT) |
commit | bf835c2e69b3bc37145e572f68554bf771eeec3f (patch) | |
tree | 4a8787dd5d359eda619b15ba6dcbb85eb78a084b /tools/qdoc3 | |
parent | a8fb1076935a0eb58f803477ed246dc237624370 (diff) | |
download | Qt-bf835c2e69b3bc37145e572f68554bf771eeec3f.zip Qt-bf835c2e69b3bc37145e572f68554bf771eeec3f.tar.gz Qt-bf835c2e69b3bc37145e572f68554bf771eeec3f.tar.bz2 |
Treat div elements like paragraphs.
Diffstat (limited to 'tools/qdoc3')
-rw-r--r-- | tools/qdoc3/doc.cpp | 3 |
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; |