protected function removeHtmlTag(Node $body, $lineno)
    {
        if (0 === \count($body)) {
            $body = new Node([$body], [], $lineno);
        }

        $this->removeTagContent($body, 0, '/(|\ \\t|\\n|\\n\ \\t)<([a-zA-Z0-9]+)[a-zA-Z\=\'\"\ \/]+>(\\n?|\\r?)/');
        $this->removeTagContent($body, \count($body) - 1, '/(|\ \\t|\\n|\\n\ \\t|\\n)<\/[a-zA-Z]+>/');

        return $body;
    }
protected function removeHtmlTag(Node $body, $lineno)
    {
        if (0 === \count($body)) {
            $body = new Node([$body], [], $lineno);
        }

        $this->removeTagContent($body, 0, '/(|\ \\t|\\n|\\n\ \\t)<([a-zA-Z0-9]+)[a-zA-Z\=\'\"\ \/]+>(\\n?|\\r?)/');
        $this->removeTagContent($body, \count($body) - 1, '/(|\ \\t|\\n|\\n\ \\t|\\n)<\/[a-zA-Z]+>/');

        return $body;
    }
protected function removeHtmlTag ( Node $ body , $ lineno ) { if ( 0 === \ count ( $ body ) ) { $ body = new Node ( [ $ body ] , [ ] , $ lineno ) ; } $ this -> removeTagContent ( $ body , 0 , '/(|\ \\t|\\n|\\n\ \\t)<([a-zA-Z0-9]+)[a-zA-Z\=\'\"\ \/]+>(\\n?|\\r?)/' ) ; $ this -> removeTagContent ( $ body , \ count ( $ body ) - 1 , '/(|\ \\t|\\n|\\n\ \\t|\\n)<\/[a-zA-Z]+>/' ) ; return $ body ; }
Removes tag.

@param Node $body
@param int  $lineno

@return Node
Removes tag .