AUBBC

 view release on metacpan or  search on metacpan

AUBBC.pod  view on Meta::CPAN


 Enabled will add target="_blank" to all href's.

=head2 images_url

Default is blank.

This is the link to your images folder and is only used for Smilies.

 For the smileis to work you must provide a URL.

example:

 smilies must be in /smilies folder

the images_url link must have the /smilies folder in it and not point directly to /smilies.

=head2 html_type

Default is 'html' and the only other support is 'xhtml'

=head2 fix_amp

Default is 1 Enabled and the only other setting is 0 to Disable.
This setting finds all the & that need to covert to the amp; html code name
so the w3c xhtml validation checks ok.

=head2 line_break

Enable line_break "<br>\n" Default 1 , 2 is for the "<br>" older style
that has no new line, 0 is Disable.

This will turn any new line \n to the HTML line break <br>\n or <br> by the script_escape method and the other way around
with the html_to_text method.

=head2 code_class

Default is '' and this allows a custom class, style and/or JavaScript to be used in any of the [code] [c] tags.

must have a space before the text.

example:

 code_class => ' class="quote"',

 code_class => ' class="quote" onclick="....."',

=head2 code_extra

Default is '' and this is for a custom message, code, image, est.. to be used after the [code] [c] tags.

example:

 code_extra => 'Codes may not reflect what is in the current version.',

 code_extra => '<div style="clear: left"> </div>',

=head2 code_download

Default is '^Download above code^' this message will
be the links name. the link will open a JavaScript popup window and write the
code in it to be copyed or printed. A new JavaScript function was
added to the js_print method called MyCodePrint.

To turn off set this to ''

example:

 code_download => 'Click here to get above code.',

 code_download => '',
 
=head2 href_class

Default is '' and this allows a custom class, style and/or JavaScript to be used in the [url] tags.

must have a space before the text.

example:

 href_class => ' class="url"',
 href_class => ' class="url" onclick="....."',

=head2 quote_class

Default is '' and this allows a custom class, style and/or JavaScript to be used in the [quote] tags.

must have a space before the text.

example:

  quote_class => ' class="quote"',
  quote_class => ' class="quote" onclick="....."',

=head2 quote_extra

Default is '' and this is for a custom message, code, image, est.. to be used after a [quote] tags.

example:

  quote_extra => 'QUOTES AND SAYINGS DISPLAYED ON THIS BLOG ARE NOT WRITTEN BY THE AUTHOR OF THE BLOG.',
  quote_extra => '<div style="clear: left"> </div>',

=head2 script_escape

This will turn on or off the sanitizer/escape security for the hole message.

Default is 1 on and 0 for Disable.

Notes: 1)The code highlighter works best with an escaped character format like the
script_escape => 1 setting can provide.

2) If this setting is disabled and a character escaping method or security filter is not used
can result is a security compromise of the AUBBC tags.

3) if Disabled the method "$message = $aubbc->script_escape($message);" can be used on the message as needed before do_all_ubbc() is called.


=head2 protect_email

Default is 1 and other possible values are (0, 2, 3, 4).



( run in 2.563 seconds using v1.01-cache-2.11-cpan-ecdf5575e8d )