WriteEscape(StringSlice, Boolean) Method

Definition

Assembly Markdig.dll

Writes the content escaped for HTML.

[MethodImpl(MethodImplOptions.AggressiveInlining)]
public HtmlRenderer WriteEscape(StringSlice slice, bool softEscape = false)

Parameters

slice
StringSlice

The slice.

softEscape
Boolean

Only escape < and &

Returns

HtmlRenderer
This instance