summaryrefslogtreecommitdiffstats
path: root/src/xmlgen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2004-01-25 21:11:43 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2004-01-25 21:11:43 (GMT)
commitc7d553e78d5c3efdecb3f44a63f4f68e83eae61a (patch)
tree5e3ff29c80e73d69c88e8b33d670753c31eed4b2 /src/xmlgen.cpp
parentee63f0e064142addc300e0411b141d2697b73500 (diff)
downloadDoxygen-c7d553e78d5c3efdecb3f44a63f4f68e83eae61a.zip
Doxygen-c7d553e78d5c3efdecb3f44a63f4f68e83eae61a.tar.gz
Doxygen-c7d553e78d5c3efdecb3f44a63f4f68e83eae61a.tar.bz2
Release-1.3.5-20040125
Diffstat (limited to 'src/xmlgen.cpp')
-rw-r--r--src/xmlgen.cpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/xmlgen.cpp b/src/xmlgen.cpp
index 5f014ec..f28bf7a 100644
--- a/src/xmlgen.cpp
+++ b/src/xmlgen.cpp
@@ -1467,8 +1467,16 @@ static void generateXMLForPage(PageDef *pd,QTextStream &ti,bool isExample)
t << " <title>" << convertToXML(si->title) << "</title>" << endl;
}
t << " <detaileddescription>" << endl;
- writeXMLDocBlock(t,pd->docFile(),pd->docLine(),pd,0,
- pd->documentation()+"\n\\include "+pd->name());
+ if (isExample)
+ {
+ writeXMLDocBlock(t,pd->docFile(),pd->docLine(),pd,0,
+ pd->documentation()+"\n\\include "+pd->name());
+ }
+ else
+ {
+ writeXMLDocBlock(t,pd->docFile(),pd->docLine(),pd,0,
+ pd->documentation());
+ }
t << " </detaileddescription>" << endl;
t << " </compounddef>" << endl;