logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Name

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

See Also

       Catmandu::Fix

perl v5.36.0                                       2023-02-14                      Catmandu::Fix::html_text(3pm)

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