Share via


TextEditor.MakeTextSafe method

Cleans text according to specifications, such as removing all script and certain URLs.

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
Public Shared Function MakeTextSafe ( _
    strHtmlToFix As String _
) As String
'Usage
Dim strHtmlToFix As String
Dim returnValue As String

returnValue = TextEditor.MakeTextSafe(strHtmlToFix)
public static string MakeTextSafe(
    string strHtmlToFix
)

Parameters

Return value

Type: System.String

See also

Reference

TextEditor class

TextEditor members

Microsoft.SharePoint.Portal.WebControls namespace