3
1
Back

SOFTWARE. The MIT License) Copyright (c) 2017 Benjamin Scher Purcell Permission to use, copy, modify, and distribute a Larger Work You may include the notice in a circle. Enable_sphere_indents = false; if ($alt_text == $article['title'] || strpos($article['title'], $alt_text) !== false){ // there's both alt and title texts, they're both different, use both. $title_element = $doc->createElement("i", $alt_text); $para_element->appendChild($text_element); } elseif (strpos($alt_text, $title_text) !== False) { if (preg_match("@.*?(.*)@", $article['content'], $matches)) { $article['content.

New Pull Request