Interpret input text as HTML-formatted text

html(text, ...)

Arguments

text, ...

the text that is understood to be HTML text, which is to be preserved.

Value

a character object that is tagged as an HTML fragment that is not to be sanitized.

a character object of class html.

Figures

See also

Examples

# Use `exibble` to create a gt table; # when adding a title, use the `html()` # helper to use html formatting tab_1 <- exibble %>% dplyr::select(currency, char) %>% gt() %>% tab_header( title = html("<em>HTML</em>"))