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.UtilsAssembly: PDTec.IceNet.Sdk (in PDTec.IceNet.Sdk.dll) Version: 6.0.0.0 (6.0.6225.27214)
Syntaxpublic 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:
XmlDocumentAn
XmlDocument that contains the HTML content if the Markdown conversion has been successful; otherwise
null.
See Also