StripUnspecifiedTags removes the HTML tags from the content -- leaving behind the info for the specified HTML tags.

Namespace: DotNetNuke.Common.Utilities
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public static string StripUnspecifiedTags(
	string html,
	string specifiedTags,
	bool retainSpace
)
Visual Basic
Public Shared Function StripUnspecifiedTags ( 
	html As String,
	specifiedTags As String,
	retainSpace As Boolean
) As String

Parameters

html
Type: System..::..String
paramhtmlM:DotNetNuke.Common.Utilities.HtmlUtils.StripUnspecifiedTags(System.String,System.String,System.Boolean)
specifiedTags
Type: System..::..String
paramspecifiedTagsM:DotNetNuke.Common.Utilities.HtmlUtils.StripUnspecifiedTags(System.String,System.String,System.Boolean)
retainSpace
Type: System..::..Boolean
paramretainSpaceM:DotNetNuke.Common.Utilities.HtmlUtils.StripUnspecifiedTags(System.String,System.String,System.Boolean)

Return Value

The cleaned up string

Remarks