Class HTMLPurifier_AttrTransform_BdoDir

InheritanceHTMLPurifier_AttrTransform_BdoDir » HTMLPurifier_AttrTransform

Post-trasnform that ensures that bdo tags have the dir attribute set.

Public Methods

Hide inherited methods

MethodDescriptionDefined By
confiscateAttr() Retrieves and removes an attribute HTMLPurifier_AttrTransform
prependCSS() Prepends CSS properties to the style attribute, creating the attribute if it doesn't exist. HTMLPurifier_AttrTransform
transform() HTMLPurifier_AttrTransform_BdoDir

Method Details

transform() public method

public array transform ( $attr, $config, $context )
$attr array
$config HTMLPurifier_Config
$context HTMLPurifier_Context