3
1
Back

Arcade if(preg_match("@.*()@", $article['content'], $matches)){ $img = $matches[1]; // Least I Could Do (wtf image size? If(preg_match("@.*()@", $article['content'], $matches)){ $img = $matches[1]; } } module indentations() { if(indentations_sphere == true } } } return $article; } if(ADD_IDS){ $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } // Dilbert elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//figure[@class='photo-hires-item']//img", $article); } Clean up code formatting; added a few comics; standardized appending alt/title.

New Pull Request