3
1
Back

Holes at the first if(preg_match("@.*(.*)@", $article['content'], $matches)) { $img = $matches[1]; $img = preg_replace("@height=\"\d+\"@", "", $img); $article['content'] = $this->get_img_tags($xpath, "//div[@class='singleImage']/img[@class='magicfields']", $article); $article['content'] = $this->get_img_tags($xpath, "//div[@class='comicpage']//img[contains(@src, 'uploads')]", $article); } // Invisible Bread (make the bread visible) $article['content'] = $img; if (preg_match("@.*()@", $article['content'], $matches)) { $article['content'] .= "
" . $msg . ""; } } if ($alt_text == $title_text){ } elseif (strpos($title_text, $alt_text) !== false){ $text_element = $doc->createElement("i", $alt_text); $para_element->appendChild($text_element); } elseif ($title_text && !$alt_text){ $text_element = $doc->createElement("i", $alt_text); $para_element->appendChild($alt_element); $para_element->appendChild($doc->createElement("br")); $title_element.

New Pull Request