Calls
IMarkupFormattable.ToHtml
using the StatiqMarkupFormatter
so that processing instructions and character references are properly handled. This should be
used for serialization when ParseHtmlAsync(IDocument, bool)
is used.
- Namespace
- Statiq
.Common - Containing Type
- IElementExtensions
Syntax
public static string FormattedOuterHtml(this IElement element)
Parameters
Name | Type | Description |
---|---|---|
element | IElement |
Return Value
Type | Description |
---|---|
string |