public function removeTag($tag)
    {
        if (is_array($tag))
        {
            foreach ($tag as $t)
            {
                if (isset($this->allowed_tags[$t]))
                    unset($this->allowed_tags[$t]);
                $this->remove_tags[$t] = true;
            }
        }
        else
        {
            if (isset($this->allowed_tags[$tag]))
                unset($this->allowed_tags[$tag]);
            $this->remove_tags[$tag] = true;
        }
        return $this;
    }
public function removeTag($tag)
    {
        if (is_array($tag))
        {
            foreach ($tag as $t)
            {
                if (isset($this->allowed_tags[$t]))
                    unset($this->allowed_tags[$t]);
                $this->remove_tags[$t] = true;
            }
        }
        else
        {
            if (isset($this->allowed_tags[$tag]))
                unset($this->allowed_tags[$tag]);
            $this->remove_tags[$tag] = true;
        }
        return $this;
    }
public function removeTag ( $ tag ) { if ( is_array ( $ tag ) ) { foreach ( $ tag as $ t ) { if ( isset ( $ this -> allowed_tags [ $ t ] ) ) unset ( $ this -> allowed_tags [ $ t ] ) ; $ this -> remove_tags [ $ t ] = true ; } } else { if ( isset ( $ this -> allowed_tags [ $ tag ] ) ) unset ( $ this -> allowed_tags [ $ tag ] ) ; $ this -> remove_tags [ $ tag ] = true ; } return $ this ; }
Add a tag to the list of tags to remove including all child nodes
@param $tag string|array The name of the tag to add to the remove list
Can also be an array to add multiple tags.
@return SafeHTML Provides fluent interface
Add a tag to the list of tags to remove including all child nodes