mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-01-03 13:21:51 +00:00
Fix typo: $attributes to $attr.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@296 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
parent
50d5179dbd
commit
4c52e42189
@ -15,7 +15,7 @@ class HTMLPurifier_AttrTransform_BdoDir extends HTMLPurifier_AttrTransform
|
|||||||
{
|
{
|
||||||
|
|
||||||
function transform($attr, $config) {
|
function transform($attr, $config) {
|
||||||
if (isset($attr['dir'])) return $attributes;
|
if (isset($attr['dir'])) return $attr;
|
||||||
$attr['dir'] = $config->get('Attr', 'DefaultTextDir');
|
$attr['dir'] = $config->get('Attr', 'DefaultTextDir');
|
||||||
return $attr;
|
return $attr;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user