Tina Müller > Parse-BBCode > Parse::BBCode::Text

Download:
Parse-BBCode-0.14.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  6
View/Report Bugs
Module Version: 0.03   Source  

NAME ^

Parse::BBCode::Text - Provides plaintext defaults for Parse::BBCode

SYNOPSIS ^

    use Parse::BBCode::Text;
    my $p = Parse::BBCode::Markdown->new();
    my $code = 'some [b]b code[/b]';
    my $plaintext = $p->render($code);

DESCRIPTION ^

This module can be used to turn bbcode into minimal plaintext.

METHODS ^

defaults

Returns a hash with default tags.

    b, i, u, img, url, email, size, color, list, *
default_escapes

Returns a hash with escaping functions.

    html, uri, link, email, htmlcolor, num
optional

Returns a hash of optional tags.

    html
syntax highlighting: