Ext.EncodeHTML()

Escapes HTML values in a string.

Function Signature

 string Ext.EncodeHTML( value )

Parameters

Parameter Type Description

value

string

The text that may have HTML characters that need to be escaped.

Return

Type Description

string

The HTML-encoded version of the string value.

Technical Details

SBM ModScript version: 11.3.

Example

Ext.WriteStream( Ext.EncodeHTML( "a < b" ));

Notes

None.

Related Topics

Extension Functions