3
1
Back

$img); $article['content'] = preg_replace('#(/[0-9-]+)-150x150\.gif#', '$1.gif', $article['content']); $article['content'] = preg_replace('#(/[0-9-]+)-150x150\.gif#', '$1.gif', $article['content']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comic-wrap']//img[@class='comic']", $article); } // Wondermark (alt tag already present elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { $doc = NULL) { if (preg_match("@.*()@", $article['content'], $matches)) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } elseif ($alt_text == $title_text){ } elseif (strpos($alt_text, $title_text) !== False) { if (strpos($article["content"], "bonus panel!") !== FALSE) .

New Pull Request