HTML-HTML5-ToText
view release on metacpan or search on metacpan
lib/HTML/HTML5/ToText.pm view on Meta::CPAN
{
my @noshow = qw[base basefont bgsound meta param script style];
my @empty = qw[br canvas col command embed frame hr
img is index keygen link];
my @inline = qw[a abbr area b bdi bdo big button cite code dfn em font i
input kbd label mark meter nobr progress q rp rt ruby s
samp small span strike strong sub sup time tt u var wbr];
my @block = qw[address applet article aside audio blockquote body caption
center colgroup datalist del dir div dd details dl dt
fieldset figcaption figure footer form frameset h1 h2 h3
h4 h5 h6 head header hgroup html iframe ins legend li
listing map marquee menu nav noembed noframes noscript
object ol optgroup option p pre select section source summary
table tbody td tfoot th thead title tr track ul video];
{
no strict 'refs';
*{ uc $_ } = sub { (shift)->_inline($_, @_) }
foreach @inline;
*{ uc $_ } = sub { (shift)->_block($_, @_) }
foreach @block;
( run in 1.135 second using v1.01-cache-2.11-cpan-49f99fa48dc )