Learn R Programming

IFC (version 0.1.1)

escape_entities: XML Entities Protection

Description

Helper to escape xml entities.

Usage

escape_entities(text)

Arguments

text

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

Value

a character vector where xml entities have been escaped.

Details

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