BBCode-Parser
view release on metacpan or search on metacpan
t/10-inline.t view on Meta::CPAN
bbtest q([FONT=Verdana, SIZE=10pt, COLOR=blue]Multi-attribute FONT[/FONT]),
q(<span style="font-family: 'Verdana'; font-size: 10pt; color: blue">Multi-attribute FONT</span>);
bbtest q([URL=http://slashdot.org/]Linked[/URL] text),
q(<a href="http://slashdot.org/" rel="nofollow">Linked</a> text);
bbtest q(More [EMAIL=mailto:chronos@chronos-tachyon.net]linked[/EMAIL] text),
q(More <a href="mailto:chronos@chronos-tachyon.net" rel="nofollow">linked</a> text);
bbtest q(Image: [IMG=http://chronos-tachyon.net/images/me/20040419-closeup.jpg, ALT="[My Face]", W=818, H=958, TITLE="A picture of Chronos Tachyon"]),
q(Image: <img src="http://chronos-tachyon.net/images/me/20040419-closeup.jpg" alt="[My Face]" width="818" height="958" title="A picture of Chronos Tachyon" />);
bbtest q([URL=http://slashdot.org/, FOLLOW=1]Linked[/URL] text),
q(<a href="http://slashdot.org/" rel="nofollow">Linked</a> text);
$p->set(follow_override => 1);
bbtest q([URL=http://slashdot.org/, FOLLOW=1]Linked[/URL] text),
q(<a href="http://slashdot.org/">Linked</a> text);
bbtest q([URL=http://www.example.org/?test=foo]Linked[/URL] text),
( run in 0.677 second using v1.01-cache-2.11-cpan-39bf76dae61 )