3
1
Back

(strpos($title_text, $alt_text) !== False) { if (preg_match("@.*(get_img_tags($xpath, "//div[@id='comic-img']//img", $article); $alt_text = $entry->getAttribute('title'); $alt_text = $entry->getAttribute('alt'); $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, "//figure[@class='photo-hires-item']//img", $article.

New Pull Request