Highlighter.Net 2.0.0

SimpleHTMLEncoder.HtmlEncode Method 

Encode string into HTML

public static string HtmlEncode(
   string plainText
);

See Also

SimpleHTMLEncoder Class | Lucene.Net.Highlight Namespace