StringExtensions.DecodeHtml(String) Method

Definition

Returns a string with HTML comments, scripts, styles, and tags removed.

public static string? DecodeHtml (this string? htmlText);
static member DecodeHtml : string -> string
<Extension()>
Public Function DecodeHtml (htmlText As String) As String

Parameters

htmlText
String

HTML string.

Returns

Decoded HTML string.

Applies to