119c119
< our @bbcode_tags = qw(code quote b u i color size list url email img);
---
> our @bbcode_tags = qw(code quote b u i color size list url email img font align flash music);
145c145,146
< size => '%s',
---
> size => '%s',
> font => '%s',
151a153,154
> align => '
%s
',
> flash => q!!,
337a341,353
> } elsif ($tag eq 'music') {
> # patch for music
> if ($content =~ /\.(ram|rmm|mp3|mp2|mpa|ra|mpga)$/) {
> $html = qq!!;
> } elsif ($content =~ /\.(rm|mpg|mpv|mpeg|dat)$/) {
> $html = qq!!;
> } elsif ($content =~ /\.(wma|mpa)$/) {
> $html = qq!!;
> } elsif ($content =~ /\.(asf|asx|avi|wmv)$/) {
> $html = qq!!;
> }
339a356,360
> # specail treat for size
> if ($tag eq 'size') {
> $attr = 8 if ($attr < 8);
> $attr = 16 if ($attr > 16);
> }