Internationalisation
Bundled Plugins API
text
Functions for managing text on the web.

API Overview

API Documentation

Functions

escapeXML

Signature
cp.web.text.escapeXML(s) -> string
Type
Function
Description
Escapes a string
Parameters
  • s - The string you want to escape
Returns
  • The string, escaped for XML.
Signature
cp.web.text.unescapeXML(s) -> string
Type
Function
Description
Unescapes a string from XML encoding.
Parameters
  • s - The string you want to unescape
Returns
  • The string, unescaped.
Last modified 1mo ago
Export as PDF
Copy link