Class HtmlToTextHelper
Helper class to convert rich text to HTML. Original source: https://stackoverflow.com/a/25178738/
Inherited Members
Namespace: Microsoft.Internal.Studios.Aruba.Jira
Assembly: Aruba.Jira.dll
Syntax
public static class HtmlToTextHelperMethods
View SourceConvertDoc(HtmlDocument)
Converts an HtmlDocument to plain text.
Declaration
public static string ConvertDoc(HtmlDocument doc)Parameters
| Type | Name | Description | 
|---|---|---|
| HtmlDocument | doc | The HtmlDocument to convert. | 
Returns
| Type | Description | 
|---|---|
| string | The plain text in the form of a string. | 
ConvertHtml(string)
Converts HTML to plain text.
Declaration
public static string ConvertHtml(string html)Parameters
| Type | Name | Description | 
|---|---|---|
| string | html | The HTML to convent. | 
Returns
| Type | Description | 
|---|---|
| string | The plain text in the form of a string. |