3
1
Back

= $entry->getAttribute('alt'); $alt_text = trim($entry->getAttribute('alt')); $alt_text = false; $title_text = trim($img->getAttribute('title')); if (!$alt_text) { $new_element = $doc->createElement("div"); $para_element = $doc->createElement("p"); $article['content'] = $matches[1]; $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, '/comics/') and @class='comic_image']", $article); } Some comics supported elseif.

New Pull Request