3
1
Back

(id 17a7121e-b68e-480a-a63e-d9064ffac0d1 function mangle_article($article) { if ($img->getAttribute('title')) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comicbody']//img", $article); elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img; } } } if ($rel[0] == '#' || $rel[0] == '?') { return $rel; } if ($rel[0]=='#' || $rel[0]=='?') { return $this->mangle_article($article); } function.

New Pull Request