Using html encoding

Verified
Added by iNTERFACEWARE

How to encode strings with html special characters, using filter.html.enc()

Source Code
-- encode string for html
local Enc = filter.html.enc('Encodes html special characters like: <>&')
trace(Enc)
Description
How to encode strings with html special characters, using filter.html.enc()
Usage Details

Demonstrates encode strings with html special characters, by using filter.html.enc().

How to use the snippet:

  • Paste the code into your script
  • Inspect the annotations to see how it works