TextEditor.MakeTextSafe Method

NOTE: This API is now obsolete.

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
<ObsoleteAttribute("This class is obsolete.")> _
Public Shared Function MakeTextSafe ( _
    strHtmlToFix As String _
) As String
'Usage
Dim strHtmlToFix As String
Dim returnValue As String

returnValue = TextEditor.MakeTextSafe(strHtmlToFix)
[ObsoleteAttribute("This class is obsolete.")]
public static string MakeTextSafe(
    string strHtmlToFix
)

Parameters

Return Value

Type: System.String
String. The modified text.

See Also

Reference

TextEditor Class

TextEditor Members

Microsoft.SharePoint.Portal.WebControls Namespace