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


Manual Reference Pages  -  SYMPA::HTMLDECORATOR (3)

.ds Aq ’

NAME

Sympa::HTMLDecorator - Decorating HTML texts

CONTENTS

SYNOPSYS



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



DESCRIPTION

Sympa::HTMLDecorator transforms HTML texts.

    Methods

instance ( ) Constructor. Returns singleton instance of this class.
decorate ( $html, email => $mode ) Instance method. Modifys 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.

SEE ALSO

Sympa::HTMLSanitizer.

HISTORY

Sympa::HTMLDecorator appeared on Sympa 6.2.14.
Search for    or go to Top of page |  Section 3 |  Main Index


6.2.14 SYMPA::HTMLDECORATOR (3Sympa) 2016-02-26

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