diff --git a/www/txt2plain.pl b/www/txt2plain.pl index c34f94eb20..47018fcf9b 100755 --- a/www/txt2plain.pl +++ b/www/txt2plain.pl @@ -19,7 +19,6 @@ sub show { if(@a) { print @a; undef @a; - print "\n"; } if(@p) { print "
\n"; @@ -63,7 +62,7 @@ while() { } # first line of A $line =~ s/^A(\d*)[.:] *//g; # cut off the "A[num]." - push @a, " "; + push @a, "
"; push @a, $line; $prev='a'; @@ -76,7 +75,7 @@ while(
) { if($prev ne 'a') { show(); - push @a, " "; + push @a, "
"; } push @a, $_;