WriteEscape(String, Int32, Int32, Boolean) Method

Definition

Assembly Markdig.dll

Writes the content escaped for HTML.

public HtmlRenderer WriteEscape(string content, int offset, int length, bool softEscape = false)

Parameters

content
String

The content.

offset
Int32

The offset.

length
Int32

The length.

softEscape
Boolean

Only escape < and &

Returns

HtmlRenderer
This instance