NAME

WordPress::Base::Text - text helpers

SYNOPSIS

   use WordPress::Base::Text;

   my $content = slurp('./file');
   my $clean_content = cleanup_html($content);

   my $quick_clean = cleanup_html( slurp('./file');

SUBS

These are not oo

__slurp() and slurp()

argument is abs path, returns content if file not there, returns undef

__cleanup_html() and cleanup_html()

argument is html text, returns cleaned up, takes out font tags, etc