3
1
Back

|| $alt_text == $article['title'] || strpos($article['title'], $alt_text) !== false){ // there's both alt and title texts, they're both different, use both. $title_element = $doc->createElement("i", $alt_text); } elseif ($alt_text == $title_text){ } elseif ($title_text && !$alt_text){ $text_element = $doc->createElement("i", $title_text); $para_element->appendChild($title_element); } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { $article['content'] .= "

" . $entry->textContent . "

"; } } } Invisible.

New Pull Request