forked from extern/egroupware
allow to pass config/validation rules to current purifying engine (HTMLawed)
This commit is contained in:
parent
cce86e346e
commit
2a61ac9264
@ -60,8 +60,7 @@ class etemplate_widget_htmlarea extends etemplate_widget
|
|||||||
{
|
{
|
||||||
$value = self::get_array($content, $form_name);
|
$value = self::get_array($content, $form_name);
|
||||||
$valid =& self::get_array($validated, $form_name, true);
|
$valid =& self::get_array($validated, $form_name, true);
|
||||||
|
$valid = html::purify($value,($this->attrs['validation_rules']?$this->attrs['validation_rules']:null));
|
||||||
$valid = html::purify($value);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user