obj = new HTMLPurifier_AttrTransform_BdoDir();
}
function test() {
$this->assertResult( array(), array('dir' => 'ltr') );
// leave existing dir alone
$this->assertResult( array('dir' => 'rtl') );
// use a different default
$this->assertResult(
array(),
array('dir' => 'rtl'),
array('Attr.DefaultTextDir' => 'rtl')
);
}
}
?>