3
1
Back

Present) // Wondermark (alt tag already present) elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { $doc = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); } // Questionable Content (cleanup // only keep everything starting at the first if(preg_match("@.*(get_img_tags($xpath, "//img[@class='ksc' and contains(@src, 'png')]", $article); $article['content'] .= "
Alt.

New Pull Request