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::HTMLDecorator(3Sympa) sympa 6.2.62 Sympa::HTMLDecorator(3Sympa)

Sympa::HTMLDecorator - Decorating HTML texts

  use Sympa::HTMLDecorator;
  $decorator = Sympa::HTMLDecorator->instance;
  $ouput = $decorator->decorate($html, email => 'javascript');

Sympa::HTMLDecorator transforms HTML texts.

instance ( )
Constructor. Returns singleton instance of this class.
decorate ( $html, email => $mode )
Instance method. Modifies HTML text.

Parameters:

$html
A text including HTML document or fragment. It must be encoded by UTF-8.
email => $mode
Transformation mode. 'at' replaces "@" in email addresses. 'javascript' obfuscates emails using JavaScript code.

Returns:

Modified text.

Sympa::HTMLSanitizer.

Sympa::HTMLDecorator appeared on Sympa 6.2.14.
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.