Scroll to navigation

Catmandu::Fix::html_text(3pm) User Contributed Perl Documentation Catmandu::Fix::html_text(3pm)

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

2023-02-11 perl v5.36.0