EscapeNow method (text)

HTML-encodes this text.

Syntax

text.EscapeNow

Returns the value of text HTML-encoded.

The returned text is flagged as safe as it has already been HTML-encoded.

Example

{% Var text = "These cost £2.00." %}

{{ text.EscapeNow }}

The above example would output: These cost £2.00.