3
1
Back

} $img->parentNode->replaceChild($new_element, $img); } function hook_render_article($article) { $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } //noop } // Dilbert elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); // Three Panel Soul // Two Lumps Features.

New Pull Request