3
1
Back

_comics/init.php 407 lines elseif (strpos($article['link'], 'http://www.achewood.com/index.php?date=') !== FALSE) { // Wondermark (alt tag already present foreach($imgs as $img){ // Questionable Content (cleanup) elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { elseif (strpos($article["link"], "drugsandwires.fail/dnwcomic/") !== FALSE) { $xpath = new DOMXpath($doc); $imgs = $xpath->query('//img'); $alt_text = trim($entry->getAttribute('alt')); $alt_text = trim($img->getAttribute('title')); if (!$alt_text) { $new_element = $doc->createElement("img"); $new_element->setAttribute('src', $extraimage->getAttribute('src')); $bread->parentNode->replaceChild($new_element, $bread); $article['content'] = $matches[1]; $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] .= "

$orig_content

"; //also append the blarg post because that's small, interesting, //and sometimes necessary for.

New Pull Request