The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Catmandu::Fix::html_text - keep only the textual data in the HTML

SYNOPSIS

   # keep only the text
   html_text()
   # returns:
   #  html: "<html>...</html>"

   # keep only the text but return an array_ref
   html_text(split:1)
   # returns:
   #  html:
   #    - <html>
   #    - ...
   #    - </html>

SEE ALSO

Catmandu::Fix