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!
controls="StatusBar,ControlPanel" width='320' height='70' border='0' autostart='flase'>
!; > } elsif ($content =~ /\.(rm|mpg|mpv|mpeg|dat)$/) { > $html = qq!
controls="ImageWindow,StatusBar,ControlPanel" width='352' height='288' border='0' autostart='flase'>
!; > } 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); > }