Click or drag to resize
FixXHTMLSettings Class
Container for the XHTML fixing settings.
Inheritance Hierarchy
SystemObject
  CMS.HelpersFixXHTMLSettings

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax
C#
public class FixXHTMLSettings

The FixXHTMLSettings type exposes the following members.

Constructors
  NameDescription
Public methodFixXHTMLSettings
Top
Fields
  NameDescription
Public fieldAttributes
Fix attribute names and values to make sure they are in valid format and using correct quotes
Public fieldHTML5
Fix HTML5 obsolete attributes, converts the attributes to corresponding CSS classes or CSS styles, such as class="cellspacing_0"
Public fieldIndent
Ensures proper indentation of the HTML (make it nice).
Public fieldJavascript
Fix javascript filter, ensures that all javascript tags contain the type attribute
Public fieldLowerCase
Lowercase tags filter, lowercases tag names and attribute names in the HTML
Public fieldResolveUrl
Resolve URL filter, resolves all relative URLs starting with ~/
Public fieldSelfClose
Self close filter, closes all tags that are self-closing, and missing the end tag
Public fieldTableToDiv
Converts TABLE tags to DIV tags
Top
Properties
  NameDescription
Public propertyAnyEnabled
Returns true if any of the filters is enabled
Public propertyMayModifyCssClass
Returns true if the filter may modify CSS class
Public propertyProcessTagContent
Returns true, if the settings indicate that the tag content should be processed
Top
See Also