Edit

Share via


StringExtensions.FixHtml(String) Method

Definition

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

public static string FixHtml (this string html);
static member FixHtml : string -> string
<Extension()>
Public Function FixHtml (html As String) As String

Parameters

html
String

HTML string to fix.

Returns

Fixed HTML string.

Applies to