escape

Top  Previous  Next

escapes <, > and " into their HTML entity equivalents.

Definition

escapedString = escape( string )

 

Example

local escaped = escape( "hello <b> this is not bold </b>" )

print(escape)

Availability

Lua context during page load.