Learn R Programming

IFC (version 0.2.1)

escape_entities: XML Entities Protection

Description

Helper to escape xml entities.

Usage

escape_entities(text)

Value

a character vector where xml entities have been escaped.

Arguments

text

value return by xml2::as_list. Default is 5.

Details

entities will be replaced by:
-& to "&"
-> to ">"
-< to "&lt;"
-' to "&apos;"
-" to "&quot;"