Click or drag to resize

TextUtilsGetSafeMarkdownHtml Method (String, Boolean)

Converts a Markdown text into a safe HTML snippet. Tags that are not white-listed are 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 string GetSafeMarkdownHtml(
	string markupText,
	out bool isFallbackResult
)

Parameters

markupText
Type: SystemString
The text in Markdown format.
isFallbackResult
Type: SystemBoolean
true if the Markdown conversion failed and a fallback result is provided; otherwise false.

Return Value

Type: String
The HTML snippet that contains the Markdown text.
See Also