3
1
Back

If (preg_match("@.*?(.*)@", $article['content'], $matches)) { $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] = $matches[1]; } } function get_img_tags($xpath, $query, $article) { $entries = $xpath->query("//div[@class='entry']"); .

New Pull Request