man/strip_html.Rd
raw| 1 | % Generated by roxygen2: do not edit by hand |
| 2 | % Please edit documentation in R/string.R |
| 3 | \name{strip_html} |
| 4 | \alias{strip_html} |
| 5 | \title{Strip HTML tags} |
| 6 | \usage{ |
| 7 | strip_html(x) |
| 8 | } |
| 9 | \arguments{ |
| 10 | \item{x}{A character vector.} |
| 11 | } |
| 12 | \value{ |
| 13 | A character vector with HTML tags and comments stripped off. |
| 14 | } |
| 15 | \description{ |
| 16 | Remove HTML tags and comments from text. |
| 17 | } |
| 18 | \examples{ |
| 19 | xfun::strip_html("<a href=\"#\">Hello <!-- comment -->world!</a>") |
| 20 | } |