3
1
Back

$doc->loadHTML($html); $xpath = $this->get_xpath_dealie($article['link']); } elseif (strpos($title_text, $alt_text) !== false){ // there's both alt and title texts, they're both different, use both. $alt_element = $doc->createElement("i", $title_text); $para_element->appendChild($title_element); } Clean up code formatting; added a few mm.

New Pull Request