R/string.R
strip_html.Rd
Remove HTML tags and comments from text.
strip_html(x)
A character vector.
A character vector with HTML tags and comments stripped off.
xfun::strip_html("<a href=\"#\">Hello <!-- comment -->world!</a>") #> [1] "Hello world!"