#cp.web.text

Functions for managing text on the web.


#API Overview

Functions - API calls offered directly by the extension


#API Documentation

#Functions

Signaturecp.web.text.escapeXML(s) -> string
TypeFunction
DescriptionEscapes a string
Parameters
  • s - The string you want to escape
Returns
  • The string, escaped for XML.
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/web/text.lua line 42

Signaturecp.web.text.unescapeXML(s) -> string
TypeFunction
DescriptionUnescapes a string from XML encoding.
Parameters
  • s - The string you want to unescape
Returns
  • The string, unescaped.
NotesNone
ExamplesNone
Sourcesrc/extensions/cp/web/text.lua line 19