Documentation > CMS Template API Library > Util > EscapeItem(String)

EscapeItem

Escapes html characters and all non-ASCII UTF-8 characters. If the string already contains escaped values, such as &, it will not escape the &.

public System.String EscapeItem(String)


Returns

'Escaped' HTML equivalent of the input string.

Parameters

NameDescriptionType
text The text. System.String

Connect with Crownpeak