3
1
Back

Bytes } elseif (strpos($title_text, $alt_text) !== false){ } elseif ($alt_text == $article['title'] || strpos($article['title'], $title_text) !== False) { $alt_text = trim($img->getAttribute('title')); if (!$alt_text) { $new_element = $doc->createElement("img"); $new_element->setAttribute('src', $extraimage->getAttribute('src')); $bread->parentNode->replaceChild($new_element, $bread); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); } // there's both alt and title texts, they're both different, use both. $alt_element = $doc->createElement("i", $alt_text); } elseif (strpos($article["link"], "satwcomic.com/") !== FALSE) { .

New Pull Request