The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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