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: 13.0.131
Syntax public static string HTMLEncode(
string inputText
)
Parameters
- inputText
- Type: SystemString
Input text to encode
Return Value
Type:
StringSee Also