Before 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'] .= $aftercomic; } } } // Joy of Tech elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { // $xpath = new DOMXPath($doc); return $xpath.
alt
click/enter