3
1
Back

Preg_replace("@@", '', $article['content']); } // Least I Could Do (wtf image size? If(preg_match("@.*()@", $article['content'], $matches)){ $article['content'] = $matches[1]; $img = preg_replace("@width=\"\d+\"@", "", $img); $img = $matches[1]; } } foreach($imgs as $img){ if ($img->getAttribute('title')) { $article['content'] .= "

" . $entry->ownerDocument->saveXML($entry) . "

"; } } Pain.

New Pull Request