1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-02-02 15:09:23 -05:00

Sneak in an extra newline after section headers

This commit is contained in:
Jonas Fonseca 2006-01-08 20:02:31 +01:00 committed by Jonas Fonseca
parent 72a24f27c5
commit 3529b35da0

View File

@ -29,7 +29,7 @@ while (<FILEIN>)
$_ = $1;
if ($_ =~ s/\s*\*\/$//) { $found = 'sorta'; } else { $found = $.; }
my $dash; for (my $x = 0; $x < length($_); $x++) { $dash .= '-'; }
$_ = "$_\n$dash\n";
$_ = "$_\n$dash\n\n";
$first = 1;
}
elsif ($_ =~ /\s*([A-Z0-9_]+),\s*\/\*::\s*(.*)\s+\*\/$/)