Click or drag to resize
HTMLHelperHTMLEncode Method
HTML encoding function. Returns a string converted into an HTML-encoded string. Function does not encode previously encoded HTML entity (avoiding double HTML escaping).

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax
C#
public static string HTMLEncode(
	string inputText
)

Parameters

inputText
Type: SystemString
Input text to encode

Return Value

Type: String
See Also