3
1
Back

Trim($img->getAttribute('title')); if (!$alt_text) { $new_element = $doc->createElement("img"); $article['content'] = preg_replace("@@", '', $article['content']); // Penny Arcade if (strpos($article['link'], 'eatthattoast.com/comic/') !== FALSE) { $imgs = $xpath->query('//img'); //doesn't get simpler than this.

New Pull Request