diff options
author | Filipe Alves <filipe.alves@bithium.com> | 2016-07-14 09:21:01 (GMT) |
---|---|---|
committer | Filipe Alves <filipe.alves@bithium.com> | 2016-07-14 09:21:01 (GMT) |
commit | f075557bf207d67cf2638298cbdd843cc1a2f7d7 (patch) | |
tree | 574593fc70d01c3cd068a635ec8dc9f6b273785d /src/perlmodgen.cpp | |
parent | 66f2844fafbaa2c2e143b70a6e61c20697651ff5 (diff) | |
download | Doxygen-f075557bf207d67cf2638298cbdd843cc1a2f7d7.zip Doxygen-f075557bf207d67cf2638298cbdd843cc1a2f7d7.tar.gz Doxygen-f075557bf207d67cf2638298cbdd843cc1a2f7d7.tar.bz2 |
Add caption in verbatim blocks.
Diffstat (limited to 'src/perlmodgen.cpp')
-rw-r--r-- | src/perlmodgen.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/perlmodgen.cpp b/src/perlmodgen.cpp index 38ebbb2..8683654 100644 --- a/src/perlmodgen.cpp +++ b/src/perlmodgen.cpp @@ -667,6 +667,14 @@ void PerlModDocVisitor::visit(DocVerbatim *s) case DocVerbatim::PlantUML: type = "plantuml"; break; } openItem(type); + if (s->hasCaption()) + { + openSubBlock("caption"); + QListIterator<DocNode> cli(s->children()); + DocNode *n; + for (cli.toFirst();(n=cli.current());++cli) n->accept(this); + closeSubBlock(); + } m_output.addFieldQuotedString("content", s->text()); closeItem(); } |