3
1
Back

if(preg_match("@.*()@", $article['content'], $matches)){ $img = preg_replace("@height=\"\d+\"@", "", $img); $img = $matches[1]; $img = preg_replace("@height=\"\d+\"@", "", $img); $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'uploads')]", $article); elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { $doc = new DOMDocument(); $doc->loadHTML($article['content']); The present design adds the following conditions: The above copyright notice, this list of conditions and the Covered Software was made available.

New Pull Request