table of contents
Parse::BBCode::Text(3pm) | User Contributed Perl Documentation | Parse::BBCode::Text(3pm) |
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
2022-06-16 | perl v5.34.0 |