htmlEscape

0th

Percentile

Escape HTML entities

Escape HTML entities contained in a character vector so that it can be safely included as text or an attribute value within an HTML document

Usage
htmlEscape(text, attribute = FALSE)
Arguments
text
Text to escape
attribute
Escape for use as an attribute value
Value

Character vector with escaped text.

Aliases
  • htmlEscape
Documentation reproduced from package htmltools, version 0.3.5, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.