public function hookFilter($text, $filter, &$filtered)
    {
        if (!isset($filtered) && (!isset($filter['filter_id']) || $filter['filter_id'] === 'xss')) {
            $filtered = $this->filter($text);
        }
    }