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.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 11.0.0
Syntax public static string HTMLEncode(
string inputText
)
Parameters
- inputText
- Type: SystemString
Input text to encode
Return Value
Type:
StringSee Also