Module escape

Module escape 

Source
Expand description

Functions for escaping and unescaping text in a RapidXML-compliant way.

Functionsยง

attribute_value_escape
Escapes the string so that it is a valid "-quoted attribute value.
comment_escape
Escapes the string so that it is valid inside a comment.
content_escape
Escapes the string so that it is valid as a text node.
unescape
Unescapes an XML escaped string. Keeps all unresolved entities unexpanded.