3
1
Back

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) { $alt_text = trim($entry->getAttribute('alt')); $alt_text = $entry->getAttribute('alt'); $alt_text = trim($entry->getAttribute('title')); $result_html .= "Alt: " . $img->getAttribute('title') . ""; // only keep everything starting at the top edge or circumference.

New Pull Request