3
1
Back

$html, $content_type); } function mangle_article($article) { // XKCD (alt tags we don't need to call out for elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { $xpath = new DOMXpath($doc); $bread = $xpath->query("//a[contains(@href, 'bonus-panel')]")->item(0); if ($bread) { $bread_page_url = $bread->getAttribute('href'); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img_tag.

New Pull Request