From: Rich Walker Signed-off-by: Martin Waitz Signed-off-by: Andrew Morton --- 25-akpm/scripts/kernel-doc | 13 +++++++++---- 1 files changed, 9 insertions(+), 4 deletions(-) diff -puN scripts/kernel-doc~docbook-use-informalexample-for-examples scripts/kernel-doc --- 25/scripts/kernel-doc~docbook-use-informalexample-for-examples Wed Apr 6 16:22:10 2005 +++ 25-akpm/scripts/kernel-doc Wed Apr 6 16:22:10 2005 @@ -553,15 +553,20 @@ sub output_section_xml(%) { # print out each section $lineprefix=" "; foreach $section (@{$args{'sectionlist'}}) { - print "\n $section\n \n"; + print "\n"; + print "$section\n"; if ($section =~ m/EXAMPLE/i) { - print "\n"; + print "\n"; + } else { + print "\n"; } output_highlight($args{'sections'}{$section}); if ($section =~ m/EXAMPLE/i) { - print "\n"; + print "\n"; + } else { + print "\n"; } - print " \n\n"; + print "\n"; } } _