htmlEscape: Escape HTML entities

Description Usage Arguments Value

Description

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

1
htmlEscape(text, attribute = FALSE)

Arguments

text

Text to escape

attribute

Escape for use as an attribute value

Value

Character vector with escaped text.


yjalbert/htmltools documentation built on May 4, 2019, 5:30 p.m.