Marks the given text as HTML, which means the tag functions will know not to perform HTML escaping on it.
HTML(text, ..., .noWS = NULL)
The text value to mark with HTML
Any additional values to be converted to character and concatenated together
Character vector used to omit some of the whitespace that would
normally be written around this HTML. Valid options include before
,
after
, and outside
(equivalent to before
and
end
).
The input text
, but marked as HTML.
el <- div(HTML("I like <u>turtles</u>"))
cat(as.character(el))
#> <div>I like <u>turtles</u></div>