diff options
Diffstat (limited to 'docs/exdoc')
-rw-r--r-- | docs/exdoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/exdoc b/docs/exdoc index 058a2f7b962..e77e6d122a7 100644 --- a/docs/exdoc +++ b/docs/exdoc @@ -178,7 +178,6 @@ sub process_doc { $body = ""; $functions[$fn++] = $func; $deprecated = 0; - # Process arguments while (<>){ s/NULL/<code>NULL<\/code>/g; @@ -217,7 +216,7 @@ sub process_doc { } chop; s/^\ \*//; - $_ = "\n<p>" if (/^\s+$/); + $_ = "<p>" if (/^\s*$/); if ($inbody == 0){ if (/\s*(\w+):(.*)/){ @@ -230,6 +229,7 @@ sub process_doc { } else { $body = "\t$_\n"; + $inbody = 1; } } elsif ($inbody == 1) { |