Fayland 林 > Foorum > Foorum::Formatter

Download:
Foorum-1.001000.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 1.001000   Source  

NAME ^

Foorum::Formatter - format content for Foorum

SYNOPSIS ^

  use Foorum::Formatter qw/filter_format/;
  
  my $text = q~ :inlove: [b]Test[/b] [size=14]dsadsad[/size] [url=http://fayland/]da[/url]~;
  my $html = filter($text, { format => 'ubb' } );
  print $html;
  # <img src="/static/images/bbcode/emot/inlove.gif"> <span style="font-weight:bold">Test</span> <span style="font-size:14px">dsadsad</span> <a href="http://fayland/">da</a>

SEE ALSO ^

HTML::BBCode, Text::Textile, Text::GooglewikiFormat

AUTHOR ^

Fayland Lam <fayland at gmail.com>

syntax highlighting: