3
1
Back

Far simpler than this foreach ($imgs as $img) { $article['content'] = $img; if (preg_match("@.*()@", $article['content'], $matches)) { if ($img->getAttribute('title')) { $article['content'] = $img_tag . $article['content']; // $article['content'] = $matches[1]; $img = $matches[1]; $img .

New Pull Request