From: Rich Walker Date: Sun, 1 May 2005 15:59:26 +0000 (-0700) Subject: [PATCH] DocBook: use for examples X-Git-Tag: v2.6.12-rc4~136^2~25 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c73894c1e1160296552d8713e88bc76eac43beba;p=karo-tx-linux.git [PATCH] DocBook: use for examples Signed-off-by: Martin Waitz Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/scripts/kernel-doc b/scripts/kernel-doc index bc5ef02260ce..62bf9fe50677 100755 --- a/scripts/kernel-doc +++ b/scripts/kernel-doc @@ -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"; } }