Documentation

Added in v2.01

htmlencode

Syntax: %htmlencode(s)

encodes any < > & characters in the string as proper HTML entities.

Example:

#VAR tag %htmlencode("This is a <tag>")
#VAR


Shows that @tag has the < and > converted to HTML entities. Note that if you use #SHOW @tag, these entities will be displayed as < and > characters again because the TeSSH window recognizes many HTML tags.

Add comment

Login or register to post comments