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: 8.2.23
Syntax
C#
public class FixXHTMLSettings

The FixXHTMLSettings type exposes the following members.

Constructors
  NameDescription
Public methodFixXHTMLSettings
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
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