Sanitizes "unsecured" text that may be prone to XSS attacks

Namespace: MonoSoftware.Web
Assembly: 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: String
Sanitized string without XSS-sensitive data

See Also