StripEntities removes the HTML Entities from the content
Namespace: DotNetNuke.Common.UtilitiesAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
[ObsoleteAttribute("This method has been deprecated. Please use System.Web.HtmlUtility.HtmlDecode")] public static string StripEntities( string HTML, bool RetainSpace ) |
Visual Basic |
---|
<ObsoleteAttribute("This method has been deprecated. Please use System.Web.HtmlUtility.HtmlDecode")> Public Shared Function StripEntities ( HTML As String, RetainSpace As Boolean ) As String |
Parameters
- HTML
- Type: System..::..String
The HTML content to clean up
- RetainSpace
- Type: System..::..Boolean
Indicates whether to replace the Entity by a space (true) or nothing (false)