3
1
Back

Extent possible, whether at the first if(preg_match("@.*()@", $article['content'], $matches)) { $img = preg_replace("@height=\"\d+\"@", "", $img); $img = $matches[1]; $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] = $matches[1]; $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] = $matches[1]; } } if(ADD_IDS){ $article['content'] .= "
$orig_content
"; .

New Pull Request