Sanitizes "unsecured" text that may be prone to XSS attacks
Namespace: MonoSoftware.WebAssembly: MonoSoftware.Web (in MonoSoftware.Web.dll) Version: 1.0.40.661 (1.0.40.661)
Syntax
C# |
---|
public static string SanitizeHtml( string html ) |
Visual Basic |
---|
Public Shared Function SanitizeHtml ( html As String ) As String |
Visual C++ |
---|
public: static String^ SanitizeHtml( String^ html ) |
F# |
---|
static member SanitizeHtml : html : string -> string |
Parameters
- html
- Type: System..::..String
Html to sanitize
Return Value
Type: StringSanitized string without XSS-sensitive data