# NAME HTML::Escape - Extremely fast HTML escaping # SYNOPSIS use HTML::Escape qw/escape_html/; my $escaped = escape_html("<^o^>"); # DESCRIPTION This modules provides a function which escapes HTML's special characters. It performs a similar function to PHP's htmlspecialchars. It escapes the following characters: " & ' < > ` { } This module uses XS for better performance, but it also provides a pure perl version. # FAQ - Is there also an unescape\_html? No. Unescaping HTML requires a lot of code, and we don't want to do it. Please use [HTML::Entities](https://metacpan.org/pod/HTML%3A%3AEntities) for it. # BENCHMARK Rate HTML::Entities HTML::Escape HTML::Entities 14.0/s -- -91% HTML::Escape 150/s 975% -- # AUTHOR Goro Fuji Tokuhiro Matsuno <tokuhirom AAJKLFJEF@ GMAIL COM> # SEE ALSO [Text::Xslate](https://metacpan.org/pod/Text%3A%3AXslate), [HTML::Entities](https://metacpan.org/pod/HTML%3A%3AEntities) # LICENSE Copyright (C) Tokuhiro Matsuno This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.