FormatText replaces
tags by LineFeed characters

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

Syntax

C#
public static string FormatText(
	string HTML,
	bool RetainSpace
)
Visual Basic
Public Shared Function FormatText ( 
	HTML As String,
	RetainSpace As Boolean
) As String

Parameters

HTML
Type: System..::..String
The HTML content to clean up
RetainSpace
Type: System..::..Boolean
Whether ratain Space

Return Value

The cleaned up string

Remarks