HtmlFilterApi
Interface: \Zikula\SecurityCenterModule\Api\ApiInterface\HtmlFilterApiInterface
.
Class: \Zikula\SecurityCenterModule\Api\HtmlFilterApi
.
This class provides a method to filter allowable content from an Html string.
The class makes the following method available:
/**
* Filter an html string (or array of strings) and remove disallowed tags
*
* @param string|array $value
* @return string|array
*/
public function filter($value);
The class is fully tested.