Click or drag to resize

TextUtilsGetUnsafeMarkdownHtml Method

Converts a Markdown text into a unsafe HTML document stored in a XmlDocument. Tags that are not white-listed are not removed.

Namespace:  PDTec.IceNet.Sdk.Utils
Assembly:  PDTec.IceNet.Sdk (in PDTec.IceNet.Sdk.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax
C#
public static XmlDocument GetUnsafeMarkdownHtml(
	string markupText,
	string containerElementName
)

Parameters

markupText
Type: SystemString
The text in Markdown format.
containerElementName
Type: SystemString
The name of the XML document element.

Return Value

Type: XmlDocument
An XmlDocument that contains the HTML content if the Markdown conversion has been successful; otherwise null.
See Also