3
1
Back

Collapse all files Diff Content Not Available ttrss-plugin- _comics/init.php 478 lines elseif (strpos($article["link"], "sorcery101.net/the-city-between/thebettertofindyouwith") !== FALSE) { $img = preg_replace("@width=\"\d+\"@", "", $img); $article['content'] = $doc->saveXML(); // Questionable Content (cleanup) // Questionable Content (cleanup) elseif (strpos($article['link'], 'paintraincomic.com/comic/') !== FALSE) { $article['content'] .= "
ID: " . $article['id']; } return $article; } /* dirty absolute URL */ $abs = preg_replace($re, '/', $abs, -1, $n)) { } /* absolute URL */ $abs = "$host$path/$rel"; /* replace '//' or '/./' or '/foo/../' with '/' */ $re = array('#(/\.?/)#', '#/(?!\.\.)[^/]+/\.\./#'); for($n=1; $n>0; $abs=preg_replace($re, '/', $abs, -1, $n)) { } //Sites that provide images and just need alt tags textified. $article['content'] .= "
$orig_content
"; } // Dilbert elseif (strpos($article['link'], 'threepanelsoul.com/comic/') !== FALSE) { // Cyanide & Happiness elseif (strpos($article["link"], "satwcomic.com/") !== FALSE.

New Pull Request