forked from len0rd/rockbox
do the blockquotes with CSS instead
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1888 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ea16c19b51
commit
3b8ec06f0e
1 changed files with 2 additions and 3 deletions
|
@ -19,7 +19,6 @@ sub show {
|
||||||
if(@a) {
|
if(@a) {
|
||||||
print @a;
|
print @a;
|
||||||
undef @a;
|
undef @a;
|
||||||
print "</blockquote>\n";
|
|
||||||
}
|
}
|
||||||
if(@p) {
|
if(@p) {
|
||||||
print "<pre>\n";
|
print "<pre>\n";
|
||||||
|
@ -63,7 +62,7 @@ while(<STDIN>) {
|
||||||
}
|
}
|
||||||
# first line of A
|
# first line of A
|
||||||
$line =~ s/^A(\d*)[.:] *//g; # cut off the "A[num]."
|
$line =~ s/^A(\d*)[.:] *//g; # cut off the "A[num]."
|
||||||
push @a, "<blockquote><p class=\"faqa\">";
|
push @a, "<p class=\"faqa\">";
|
||||||
push @a, $line;
|
push @a, $line;
|
||||||
|
|
||||||
$prev='a';
|
$prev='a';
|
||||||
|
@ -76,7 +75,7 @@ while(<STDIN>) {
|
||||||
|
|
||||||
if($prev ne 'a') {
|
if($prev ne 'a') {
|
||||||
show();
|
show();
|
||||||
push @a, "<blockquote><p class=\"faqa\">";
|
push @a, "<p class=\"faqa\">";
|
||||||
}
|
}
|
||||||
|
|
||||||
push @a, $_;
|
push @a, $_;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue