src/Fetchers/SerpFetcher.php
protected function cleanText($text)
    {
        $strippedText = strip_tags($text);
        $strippedText = htmlentities($strippedText, ENT_QUOTES, $this->getCharset(), FALSE);
        return html_entity_decode($strippedText, ENT_QUOTES, $this->getCharset());
    }
protected function cleanText($text)
    {
        $strippedText = strip_tags($text);
        $strippedText = htmlentities($strippedText, ENT_QUOTES, $this->getCharset(), FALSE);
        return html_entity_decode($strippedText, ENT_QUOTES, $this->getCharset());
    }
protected function cleanText ( $ text ) { $ strippedText = strip_tags ( $ text ) ; $ strippedText = htmlentities ( $ strippedText , ENT_QUOTES , $ this -> getCharset ( ) , FALSE ) ; return html_entity_decode ( $ strippedText , ENT_QUOTES , $ this -> getCharset ( ) ) ; }
Extract textual data from fetched raw html text.
@param  string $text
@return string
Extract textual data from fetched raw html text .