protected function html(Crawler $crawler, $removables = array())
    {
        $converter = new Converter;

        $html = trim($converter->convert($crawler->html()));

        foreach ((array) $removables as $keyword)
        {
            $html = str_replace($keyword, '', $html);
        }

        $html = str_replace('  ', ' ', (string) $html);

        return trim(preg_replace('/\s\s+/', "\n\n", $html));
    }
protected function html(Crawler $crawler, $removables = array())
    {
        $converter = new Converter;

        $html = trim($converter->convert($crawler->html()));

        foreach ((array) $removables as $keyword)
        {
            $html = str_replace($keyword, '', $html);
        }

        $html = str_replace('  ', ' ', (string) $html);

        return trim(preg_replace('/\s\s+/', "\n\n", $html));
    }
protected function html ( Crawler $ crawler , $ removables = array ( ) ) { $ converter = new Converter ; $ html = trim ( $ converter -> convert ( $ crawler -> html ( ) ) ) ; foreach ( ( array ) $ removables as $ keyword ) { $ html = str_replace ( $ keyword , '' , $ html ) ; } $ html = str_replace ( '  ' , ' ' , ( string ) $ html ) ; return trim ( preg_replace ( '/\s\s+/' , "\n\n" , $ html ) ) ; }
Returns the HTML format of the body from the crawler.

@param  \Pilipinews\Common\Crawler $crawler
@param  string[]                   $removables
@return string
Returns the HTML format of the body from the crawler .