Classes
Hosts a list of attribute names. The config array it returns contains the names, deduplicated and sorted
Hosts a list of tag names. The config array it returns contains the names, deduplicated and sorted
This class helps the RulesGenerator by analyzing a given template in order to answer questions such as "can this tag be a child/descendant of that other tag?" and others related to the HTML5 content model.
Wrapper used to identify strings that should be treated as JavaScript source code
This class creates local variables to deduplicate complex configValues
This class's sole purpose is to identify arrays that need their keys to be preserved in JavaScript
No-op minifier
Optimize the control structures of a script
This class optimizes the code produced by the PHP renderer. It is not meant to be used on general purpose code
NOTE: when this check is enabled, DisallowObjectParamsWithGeneratedName should be enabled too.
This primary use of this check is to ensure that dynamic content cannot be used to create javascript: links
Add a value to a list of space-separated value
Convert simple expressions in curly brackets in text into xsl:value-of elements
De-optimize xsl:if elements so that xsl:choose dead branch elimination can apply to them
Enforce omitted/optional HTML 5 end tags and fix the DOM
Fix unescaped curly braces in HTML attributes
Inline the xsl:attribute declarations of a template
Inline the elements declarations of a template
Inline the text content of a node or the value of an attribute where it's known
Merge xsl:when branches if they have identical content
Optimize conditional attributes
Remove unnecessary
Optimize xsl:choose elements by integrating the content of another xsl:choose element located in their xsl:otherwise part
Remove all inter-element whitespace except for single space characters
Remove all comments
Remove all inter-element whitespace except for single space characters
Remove attributes related to live preview
Rename deprecated data-s9e-livepreview-postprocess attributes to data-s9e-livepreview-onrender
Set an attribute on matching elements
Add rel="noreferrer" on links that open in a new context that would allow window.opener to be accessed.
Sort attributes by name in lexical order
Convert comments into xsl:comment elements
Uninline element attributes
Allows an object to act as a proxy for a NormalizedCollection stored in $this->collection
Provides magic get, set, isset and unset implementations
Attribute name rules:
- must start with a letter or an underscore
- can only contain letters, numbers, underscores and dashes
Tag name rules:
- must start with a letter or an underscore
- can only contain letters, numbers, dashes and underscores
- can be prefixed with one prefix following the same rules, separated with one colon
- the prefixes "xsl" and "s9e" are reserved
Template parameter name rules:
- must start with a letter or an underscore
- can only contain letters, numbers and underscores
This plugin combines some of the functionalities found in SmartyPants and Textile
This renderer returns a plain text version of rich text. It is meant to be used as a last resort when every other renderer is unavailable