Enum
MarkdownRawHtmlHandling
OfficeIMO.Markdown
Controls how raw HTML blocks, inline fragments, and HTML comments are emitted during HTML rendering.
Inheritance
- Enum
- MarkdownRawHtmlHandling
Usage
Explore 5 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 5
Inherited Methods
ToString 4 overloads
public string ToString(IFormatProvider? provider) #Inherited from Enum
Obsolete("The provider argument is not used. Use ToString() instead.")Parameters
- provider IFormatProvider?
Returns
stringpublic string ToString(string? format, IFormatProvider? provider) #Inherited from Enum
Obsolete("The provider argument is not used. Use ToString(String) instead.")Parameters
- format string?
- provider IFormatProvider?
Returns
stringValues
public const MarkdownRawHtmlHandling Allow #Emit raw HTML verbatim (unsafe for untrusted input).
Value:
0public const MarkdownRawHtmlHandling Sanitize #Sanitize raw HTML using a small allowlist. Disallowed tags are escaped and dangerous attributes are removed. Intended for pragmatic "HTML on but safe-ish" scenarios, not full HTML policy enforcement.
Value:
2