diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-08-21 14:21:49 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-08-21 14:21:49 +0000 |
commit | 3b8ec06f0ef39427f7e3e43a41cefaaddcc7e29c (patch) | |
tree | 2e10450d6c98d4957dd1d17f15ac7406e1f50c5a | |
parent | ea16c19b517af54a135ebe6ea8e84044907d66e1 (diff) | |
download | rockbox-3b8ec06f0ef39427f7e3e43a41cefaaddcc7e29c.tar.gz rockbox-3b8ec06f0ef39427f7e3e43a41cefaaddcc7e29c.zip |
do the blockquotes with CSS instead
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1888 a1c6a512-1295-4272-9138-f99709370657
-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 c34f94eb20..47018fcf9b 100755 --- a/www/txt2plain.pl +++ b/www/txt2plain.pl | |||
@@ -19,7 +19,6 @@ sub show { | |||
19 | if(@a) { | 19 | if(@a) { |
20 | print @a; | 20 | print @a; |
21 | undef @a; | 21 | undef @a; |
22 | print "</blockquote>\n"; | ||
23 | } | 22 | } |
24 | if(@p) { | 23 | if(@p) { |
25 | print "<pre>\n"; | 24 | print "<pre>\n"; |
@@ -63,7 +62,7 @@ while(<STDIN>) { | |||
63 | } | 62 | } |
64 | # first line of A | 63 | # first line of A |
65 | $line =~ s/^A(\d*)[.:] *//g; # cut off the "A[num]." | 64 | $line =~ s/^A(\d*)[.:] *//g; # cut off the "A[num]." |
66 | push @a, "<blockquote><p class=\"faqa\">"; | 65 | push @a, "<p class=\"faqa\">"; |
67 | push @a, $line; | 66 | push @a, $line; |
68 | 67 | ||
69 | $prev='a'; | 68 | $prev='a'; |
@@ -76,7 +75,7 @@ while(<STDIN>) { | |||
76 | 75 | ||
77 | if($prev ne 'a') { | 76 | if($prev ne 'a') { |
78 | show(); | 77 | show(); |
79 | push @a, "<blockquote><p class=\"faqa\">"; | 78 | push @a, "<p class=\"faqa\">"; |
80 | } | 79 | } |
81 | 80 | ||
82 | push @a, $_; | 81 | push @a, $_; |