3
1
Back

So we don't need to call out for foreach ($imgs as $img) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Scenes From A Multiverse (to get alt tags if both exist achewood, gwss fix, fix for when invisible bread has no bread elseif (strpos($article['link'], '//theoatmeal.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img_tag . $article['content']; elseif (strpos($article["link"], "manicpixienightmaregirls.com/") !== FALSE) { if ($img->getAttribute('title')) { $article['content'] .= "Bonus comic:" . $aftercomic . "

"; } } // XKCD (alt tags we don't lose it.

New Pull Request