HTML-BBReverse
view release on metacpan or search on metacpan
lib/HTML/BBReverse.pm view on Meta::CPAN
When set to a positive value, the C<reverse> method will parse C<&>, C<E<gt>> and
C<E<lt>> to their HTML entity equivalent. This option is useful when reversing
HTML to BBCode for editing in a browser, in a normal C<textarea>. When set to
zero, the C<reverse> method should just ignore these characters. Defaults to 1.
=item in_paragraph
Specifies wether the generated HTML is used between HTML paragraphs (C<E<lt>pE<gt>>
and C<E<lt>/pE<gt>>), and adds a C<E<lt>/pE<gt>> in front of and a C<E<lt>pE<gt>>
after every list. (XHTML 1.0 strict document types do not allow lists in
paragraphs) Defaults to 0.
=item no_jslink
When true, URLs starting with C<javascript:> will be disabled for the C<[url]>
and C<[img]> tags. Enabled by default.
=back
=head3 parse
( run in 1.135 second using v1.01-cache-2.11-cpan-49f99fa48dc )