JForm::filterField($element, $value)
appears to have a copy&paste issue in the safehtml
case, specifically it calls clean()
with a type of 'string':
// Filter safe HTML.
case 'SAFEHTML':
$return = JFilterInput::getInstance(null, null, 1, 1)->clean($value, 'string');
break;
It appears the only choice developers have is raw
if a JForm field needs to include HTML tags, not sure why this hasn't been found before.
Labels |
Added:
?
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2015-01-18 00:34:57 |
Closed_By | ⇒ | brianteeman |
See #5800
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5799.