diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2004-09-28 18:26:46 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2004-09-28 18:26:46 (GMT) |
commit | f08cd6363f5da22b2452d4f937fef68220fcb081 (patch) | |
tree | 01f67df4c4005875230919c5f826290b6a17a2e4 /src/xmlgen.cpp | |
parent | 8d674d5bacfc207f4b630262c01ba4bad38b0c82 (diff) | |
download | Doxygen-f08cd6363f5da22b2452d4f937fef68220fcb081.zip Doxygen-f08cd6363f5da22b2452d4f937fef68220fcb081.tar.gz Doxygen-f08cd6363f5da22b2452d4f937fef68220fcb081.tar.bz2 |
Release-1.3.8-20040928
Diffstat (limited to 'src/xmlgen.cpp')
-rw-r--r-- | src/xmlgen.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xmlgen.cpp b/src/xmlgen.cpp index 27f278a..c5345a6 100644 --- a/src/xmlgen.cpp +++ b/src/xmlgen.cpp @@ -718,7 +718,9 @@ static void generateXMLForMember(MemberDef *md,QTextStream &ti,QTextStream &t,De t << " <param><defname>" << a->type << "</defname></param>" << endl; } } - if (!md->initializer().isEmpty()) + // avoid that extremely large tables are written to the output. + // todo: it's better to adhere to MAX_INITIALIZER_LINES. + if (!md->initializer().isEmpty() && md->initializer().length()<2000) { t << " <initializer>"; linkifyText(TextGeneratorXMLImpl(t),def,md->getBodyDef(),md->name(),md->initializer()); |