3
1
Back

And informs Recipients how to switch modes. PRs welcome. I think this is far simpler than this foreach ($imgs as $img) { if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { if (!$title_text || $title_text == $article['title'] || strpos($article['title'], $alt_text) !== False) { if ($title_text == $article['title'] || strpos($article['title'], $alt_text) !== false){ $text_element = $doc->createElement("i", $alt_text); $para_element->appendChild($text_element); } elseif (strpos($alt_text, $title_text) !== false){ // there's both alt and title texts, they're both different, use both. $alt_element = $doc->createElement("i", $title_text); } elseif (strpos($title_text, $alt_text) !== false){ // there's both alt and.

New Pull Request