StripTags removes the HTML Tags from the content
Namespace: DotNetNuke.Common.UtilitiesAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
| C# |
|---|
public static string StripTags( string HTML, bool RetainSpace ) |
| Visual Basic |
|---|
Public Shared Function StripTags ( 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 Tag by a space (true) or nothing (false)