Table of Contents

Method ToHtml

Namespace
TantivyDotNet
Assembly
TantivyDotNet.dll

ToHtml(string, string)

The fragment as HTML: the text is HTML-encoded and each match is wrapped in open and close, which are inserted as-is.

public string ToHtml(string open = "<b>", string close = "</b>")

Parameters

open string
close string

Returns

string