3
1
Back

These, though we do know we need to call out for elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $xpath = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ foreach ($imgs as $img) { $article['content'] = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); } // CTRL+ALT+DEL Sillies.

New Pull Request