ASPxHtmlEditor.CorrectHtml Method

Name Parameters Description
CorrectHtml(String) static html

Validates and corrects the passed HTML code based upon the settings specified by the ASPxHtmlEditor.SettingsHtmlEditing property.

CorrectHtml(String, Boolean, Boolean, Boolean, Boolean, Boolean) static html, allowScripts, allowIFrames, allowFormElements, updateBoldItalic, updateDeprecatedElements

Validates and corrects the passed HTML code based upon the options specified.

CorrectHtml(String, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, AllowedDocumentType) static html, allowScripts, allowIFrames, allowFormElements, updateBoldItalic, updateDeprecatedElements, allowIdAttributes, allowStyleAttributes, allowedDocumentType

Validates and corrects the passed HTML code based upon the options specified.

CorrectHtml(String, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, AllowedDocumentType, Boolean, Boolean, Boolean) static html, allowScripts, allowIFrames, allowFormElements, updateBoldItalic, updateDeprecatedElements, allowIdAttributes, allowStyleAttributes, allowedDocumentType, allowHTML5MediaElements, allowObjectAndEmbedElements, allowYouTubeVideoIFrames

Validates and corrects the passed HTML code based upon the options specified.

CorrectHtml(String, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, AllowedDocumentType, Boolean, Boolean, Boolean, Boolean, HtmlEditorContentElementFiltering) static html, allowScripts, allowIFrames, allowFormElements, updateBoldItalic, updateDeprecatedElements, allowIdAttributes, allowStyleAttributes, allowedDocumentType, allowHTML5MediaElements, allowObjectAndEmbedElements, allowYouTubeVideoIFrames, useAbsoluteResourcePaths, contentElementFiltering

Validates and corrects the passed HTML code based upon the options specified.

CorrectHtml(String, HtmlEditorHtmlEditingSettings) static html, settings

Validates and corrects the passed HTML code based upon the settings specified.