GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Sympa::HTMLSanitizer(3Sympa) sympa 6.2.62 Sympa::HTMLSanitizer(3Sympa)

Sympa::HTMLSanitizer - Sanitize HTML contents

  $hss = Sympa::HTMLSanitizer->new;

  $sanitized = $hss->sanitize_html($html);
  $sanitized = $hss->sanitize_html_file($file);
  $hss->sanitize_var($variable);

TBD.

new ( $robot )
Constructor. Creates a new Sympa::HTMLSanitizer instance.

Parameter:

$robot
Robot context to determine allowed URL prefix.

Returns:

New Sympa::HTMLSanitizer instance.

sanitize_html ( $html )
Instance method. Returns sanitized version of HTML source.

Parameter:

$html
HTML source.

Returns:

Sanitized source.

sanitize_html_file ( $file )
Instance method. Returns sanitized version of HTML source in the file.

Parameter:

$file
HTML file.

Returns:

Sanitized source.

sanitize_var ( $var, [ options... ] )
Instance method. Sanitize all items in hashref or arrayref recursively.

TBD.

TBD.
2021-04-27 6.2.62

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.