FixXHTMLSettings Class |
Namespace: CMS.Helpers
public class FixXHTMLSettings
The FixXHTMLSettings type exposes the following members.
Name | Description | |
---|---|---|
FixXHTMLSettings |
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
|