3
1
Back

That // most outward position to point at the first if(preg_match("@.*()@", $article['content'], $matches)) { $img = preg_replace("@width=\"\d+\"@", "", $img); $article['content'] = $img; } } Dead Philosophers $doc->loadHTML($article['content']); // Dinosaur Comics Cleanup elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { // $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $matches[1]; } } } Clean up code formatting.

New Pull Request