3
1
Back

Matches if ($img->getAttribute('title')) { // only keep everything starting at the first if (preg_match("@.*()@", $article['content'], $matches)) { $img = $matches[1]; } } // Least I Could Do (wtf image size? If(preg_match("@.*()@", $article['content'], $matches)){ $img = preg_replace("@width=\"\d+\"@", "", $img); $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); } // Order of the shaft on the first if(preg_match("@.*()@", $article['content'], $matches)){ if (preg_match("@.*(

New Pull Request