Click or drag to resize
HTMLHelperFixXHTML Method
Performs the HTML code fix to become valid XHTML. Method for complete fix solution.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax
C#
public static string FixXHTML(
	string sourceHtml,
	FixXHTMLSettings settings,
	string applicationPath
)

Parameters

sourceHtml
Type: SystemString
Source HTML code
settings
Type: CMS.HelpersFixXHTMLSettings
Settings
applicationPath
Type: SystemString
Application path (for resolving URLs)

Return Value

Type: String
See Also