escape_entities: XML Entities Protection

View source: R/xml_utils.R

escape_entitiesR Documentation

XML Entities Protection

Description

Helper to escape xml entities.

Usage

escape_entities(text)

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;"

Value

a character vector where xml entities have been escaped.


IFC documentation built on Sept. 14, 2023, 1:08 a.m.