3
1
Back

Close, would need to call out for if(preg_match("@.*()@", $article['content'], $matches)){ $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] = $matches[1]; $img = preg_replace("@width=\"\d+\"@", "", $img); $article['content'] = $doc->saveXML(); // Questionable Content (cleanup) // Questionable Content (cleanup) // Questionable Content (cleanup) elseif.

New Pull Request