3
1
Back

True); define('ADD_IDS', False); define("GDORN_DEBUG", False); class _comics extends Plugin { function rel2abs($rel, $base) { function hook_render_article($article) { return $rel; } if ($rel[0]=='#' || $rel[0]=='?') { return $rel; } if (ADD_IDS) { $article['content'] = preg_replace("@@", '', $article['content']); if (preg_match("@.*?(.*)@", $article['content'], $matches)) { $img = preg_replace("@width=\"\d+\"@", "", $img); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); } Clean up code formatting; added a few more 'simple' Unseen.

New Pull Request