tchmi_encode_html

[ Function ]

function tchmi_encode_html(html: string): string;

Encodes a string in HTML.

Parameter

Name

Type

Description

html

string

The string to be coded

Return value

Type

Description

string

HTML string

tchmi_encode_html 1:

Available from version 1.12

Sample - JavaScript

TcHmi.Log.debug(tchmi_encode_html('Test \"')); // 'Test "'