diff options
| -rwxr-xr-x | www/txt2plain.pl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/www/txt2plain.pl b/www/txt2plain.pl index c34f94e..47018fc 100755 --- a/www/txt2plain.pl +++ b/www/txt2plain.pl @@ -19,7 +19,6 @@ sub show { if(@a) { print @a; undef @a; - print "</blockquote>\n"; } if(@p) { print "<pre>\n"; @@ -63,7 +62,7 @@ while(<STDIN>) { } # first line of A $line =~ s/^A(\d*)[.:] *//g; # cut off the "A[num]." - push @a, "<blockquote><p class=\"faqa\">"; + push @a, "<p class=\"faqa\">"; push @a, $line; $prev='a'; @@ -76,7 +75,7 @@ while(<STDIN>) { if($prev ne 'a') { show(); - push @a, "<blockquote><p class=\"faqa\">"; + push @a, "<p class=\"faqa\">"; } push @a, $_; |