3
1
Back

Whether this is far simpler than this foreach ($imgs as $img) { if ($img->getAttribute('title')) { $article['content'] = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); } // PhD Unknown // Robot Hugs elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = preg_replace("@@", '', $article['content']); } // SBMC elseif.

New Pull Request