Sanitize HTML code block.

Namespace: MonoSoftware.MonoX.Controls
Assembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)

Syntax

C#
public static string SanitizeHtmlCodeBlock(
	string value,
	bool encodePrefixSufix
)
Visual Basic
Public Shared Function SanitizeHtmlCodeBlock ( 
	value As String,
	encodePrefixSufix As Boolean
) As String
Visual C++
public:
static String^ SanitizeHtmlCodeBlock(
	String^ value, 
	bool encodePrefixSufix
)
F#
static member SanitizeHtmlCodeBlock : 
        value : string * 
        encodePrefixSufix : bool -> string 

Parameters

value
Type: System..::..String
HTML to sanitize
encodePrefixSufix
Type: System..::..Boolean
Encode prefix and sifix HTML (Used with Text editor)

Return Value

Type: String
Sanitized HTML code block

See Also