3
1
Back

Visible) $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-img']//img", $article); // Doghouse Diaries, which has broken alt tags if (preg_match("@.*()@", $article['content'], $matches)) { $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); } // Least I Could Do (wtf image size?) $xpath = $this->get_xpath_dealie($article['link']); $orig_content = strip_tags($article['content']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // Wondermark (alt tag already present) elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { //also get blog $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//img", $article); } Some comics supported d6ebbf1c1b Collect other files not yet included in repo d6ebbf1c1b28130c9d340e0b0f0f06a7bc1cfd83 Add control label font so we don't.

New Pull Request