Skip to main content
A newer version of this page is available. .

ASPxHtmlEditor.CorrectHtml Method

Name Parameters Description
CorrectHtml(String, HtmlEditorHtmlEditingSettings) static html, settings Validates and corrects the passed HTML code based upon the settings 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, 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) 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) static html, allowScripts, allowIFrames, allowFormElements, updateBoldItalic, updateDeprecatedElements Validates and corrects the passed HTML code based upon the options specified.
CorrectHtml(String) static html Validates and corrects the passed HTML code based upon the settings specified by the ASPxHtmlEditor.SettingsHtmlEditing property.