FixXHTMLSettings Class |
Namespace: CMS.Helpers
public class FixXHTMLSettings
The FixXHTMLSettings type exposes the following members.
Name | Description | |
---|---|---|
FixXHTMLSettings |
Name | Description | |
---|---|---|
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
Name | Description | |
---|---|---|
Attributes |
Fix attribute names and values to make sure they are in valid format and using correct quotes
| |
HTML5 |
Fix HTML5 obsolete attributes, converts the attributes to corresponding CSS classes or CSS styles, such as class="cellspacing_0"
| |
Indent |
Ensures proper indentation of the HTML (make it nice).
| |
Javascript |
Fix javascript filter, ensures that all javascript tags contain the type attribute
| |
LowerCase |
Lowercase tags filter, lowercases tag names and attribute names in the HTML
| |
ResolveUrl |
Resolve URL filter, resolves all relative URLs starting with ~/
| |
SelfClose |
Self close filter, closes all tags that are self-closing, and missing the end tag
| |
TableToDiv |
Converts TABLE tags to DIV tags
|
Name | Description | |
---|---|---|
AnyEnabled |
Returns true if any of the filters is enabled
| |
MayModifyCssClass |
Returns true if the filter may modify CSS class
| |
ProcessTagContent |
Returns true, if the settings indicate that the tag content should be processed
|