3
1
Back

There are quotes elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $xpath = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach ($imgs as $img) { if (!$title_text || $title_text == $article['title'] || strpos($article['title'], $title_text) !== False) { if (!$alt_text || $alt_text == $article['title'] || strpos($article['title'], $title_text) !== false){ $text_element .

New Pull Request