# cp.web.text

Functions for managing text on the web.


# API Overview

Functions - API calls offered directly by the extension

  • escapeXML
  • unescapeXML

# 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.
Notes None
Examples None
Source src/extensions/cp/web/text.lua line 42

# unescapeXML

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.
Notes None
Examples None
Source src/extensions/cp/web/text.lua line 19