3
1
Back

For if(preg_match("@.*()@", $article['content'], $matches)){ $img = $matches[1]; $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] = $img; if (preg_match("@.*()@", $article['content'], $matches)) { $img = preg_replace("@width=\"\d+\"@", "", $img); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comic-wrap']//img[@class='comic']", $article.

New Pull Request