fmt_remove_html_entities: Replace HTML entities used by this package with UTF-8 codes

View source: R/formatters.R

fmt_remove_html_entitiesR Documentation

Replace HTML entities used by this package with UTF-8 codes

Description

Replace HTML entities used by this package with UTF-8 codes

Usage

fmt_remove_html_entities(xs)

Arguments

xs

a character vector

Value

the updated character vector

Examples

x <- "a&nbsp;<&nbsp;&minus;12" |>
  fmt_remove_html_entities()
x
charToRaw(x)
charToRaw("a < -12")

fmt_remove_html_entities("1&ndash;2")

tjmahr/printy documentation built on March 4, 2024, 1:25 a.m.