mirror of
https://github.com/rstudio/shiny.git
synced 2026-01-13 17:08:05 -05:00
These functions were temporarily ripped out of Shiny and moved to the htmltools package. We've discovered that it's safe to keep including them in shiny; as long as the functions in shiny and the functions in htmltools are identical, the user won't receive a conflict warning.
25 lines
485 B
R
25 lines
485 B
R
\name{HTML}
|
|
\alias{HTML}
|
|
\title{Mark Characters as HTML}
|
|
\usage{
|
|
HTML(text, ...)
|
|
}
|
|
\arguments{
|
|
\item{text}{The text value to mark with HTML}
|
|
|
|
\item{...}{Any additional values to be converted to character and
|
|
concatenated together}
|
|
}
|
|
\value{
|
|
The same value, but marked as HTML.
|
|
}
|
|
\description{
|
|
Marks the given text as HTML, which means the \link{tag} functions will know
|
|
not to perform HTML escaping on it.
|
|
}
|
|
\examples{
|
|
el <- div(HTML("I like <u>turtles</u>"))
|
|
cat(as.character(el))
|
|
}
|
|
|