---
name: "Catmandu::Fix::html_text"
section: "3pm"
platform: "linux"
package: "libcatmandu-html-perl"
version: "0.02+dfsg-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Catmandu::Fix::html_text"
---

# Catmandu::Fix::html\_text(3pm)

keep only the textual data in the HTML

## 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
