1HTML::Escape(3)       User Contributed Perl Documentation      HTML::Escape(3)
2
3
4

NAME

6       HTML::Escape - Extremely fast HTML escaping
7

SYNOPSIS

9           use HTML::Escape qw/escape_html/;
10
11           escape_html("<^o^>");
12

DESCRIPTION

14       This modules provides a function which escapes HTML's special
15       characters. It performs a similar function to PHP's htmlspecialchars.
16
17       This module uses XS for better performance, but it also provides a pure
18       perl version.
19

FAQ

21       Is there also an unescape_html?
22           No. Unescaping HTML requires a lot of code, and we don't want to do
23           it.  Please use HTML::Entities for it.
24

BENCHMARK

26                            Rate HTML::Entities   HTML::Escape
27           HTML::Entities 14.0/s             --           -91%
28           HTML::Escape    150/s           975%             --
29

AUTHOR

31       Goro Fuji
32
33       Tokuhiro Matsuno <tokuhirom AAJKLFJEF@ GMAIL COM>
34

SEE ALSO

36       Text::Xslate, HTML::Entities
37

LICENSE

39       Copyright (C) Tokuhiro Matsuno
40
41       This library is free software; you can redistribute it and/or modify it
42       under the same terms as Perl itself.
43
44
45
46perl v5.28.0                      2018-07-14                   HTML::Escape(3)
Impressum