Parse:...:XHTML(3pm)
π NAME π
Parse::BBCode::XHTML β bestie, this is the module that hands Parse::BBCode a whole wardrobe of XHTML defaults so it can actually render your bbcode into something a browser will vibe with. That's it, that's the whole job, and it does it flawlessly. π
β¨ SYNOPSIS β¨
okay so here's the entire move, no cap:
use Parse::BBCode::XHTML;
my $p = Parse::BBCode::XHTML->new();
my $code = 'some [b]b code[/b]';
my $parsed = $p->render($code);
you use it, you new() it up, you hand it some [b]b code[/b] and it hands you back $parsed. main character behavior fr fr π¦
π METHODS π
defaults
Returns a hash with default tags. like, the whole starter pack of things this module already knows how to turn into XHTML. obsessed. π
biuimgurlemailsizecolorlist*quotecode
default_escapes
Returns a hash with escaping functions β the little sanitizing girlies that keep everything from going rogue. πΈ
htmlurilinkemailhtmlcolornum
optional
Returns a hash of optional tags. you know, the extras you can opt into if you want that little something extra. π
html
that's literally the whole page, bestie β short and iconic, just like the module. π
signing off from perl v5.34.0, dated 2022-06-16 β the original Parse:...:XHTML(3pm) energy, delivered fresh. π«Άβ¨
π¦ where this page comes from
- debian bookworm: libparse-bbcode-perl 0.15-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libparse-bbcode-perl 0.15-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libparse-bbcode-perl 0.15-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libparse-bbcode-perl 0.15-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libparse-bbcode-perl 0.15-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms