strip_html: Strip HTML tags

View source: R/string.R

strip_htmlR Documentation

Strip HTML tags

Description

Remove HTML tags and comments from text.

Usage

strip_html(x)

Arguments

x

A character vector.

Value

A character vector with HTML tags and comments stripped off.

Examples

xfun::strip_html('<a href="#">Hello <!-- comment -->world!</a>')

xfun documentation built on Nov. 30, 2026, 9:06 a.m.

Related to strip_html in xfun...