3
1
Back

$title_text){ } elseif (strpos($alt_text, $title_text) !== false){ $text_element = $doc->createElement("i", $title_text); $para_element->appendChild($title_element); } $img->parentNode->replaceChild($new_element, $img); } function rel2abs($rel, $base) { if ($img->getAttribute('title')) { $article['content'] = $img; if (preg_match("@.*()@", $article['content'], $matches)) { if ($img->getAttribute('title')) { $article['content'] .= "Alt: $alt_text"; Image.

New Pull Request