3
1
Back

$title_text) !== False) { $alt_text = trim($img->getAttribute('alt')); if (!$alt_text || strpos($article['title'], $title_text) !== False) { if (!$alt_text && !$title_text) { $new_element->appendChild($para_element); if ($alt_text && !$title_text){ Various updates, additions $alt_element = $doc->createElement("i", $alt_text); $title_element = $doc->createElement("i", $title_text); } function init($host) { // only keep everything starting at the first if(preg_match("@.*()@", $article['content'], $matches)){ if (preg_match("@.*(get_img_tags($xpath, "//div[@class='comic-wrap']", $article); //Sites that provide images and just need alt tags if both exist achewood, gwss fix, fix for when.

New Pull Request