3
1
Back

. Based on https://github.com/oguzbilgic/fpd, which has broken alt tags if both exist achewood, gwss fix, fix for when invisible bread has no bread function rel2abs($rel, $base) { $rel = trim($rel); if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return $this->mangle_article($article); } function rel2abs($rel, $base) { function rel2abs($rel, $base) { if (!$title_text || $title_text == $article['title'] || strpos($article['title'], $title_text) !== false){ // there's both alt and title texts, they're both different, use both. $title_element = $doc->createElement("i", $alt_text); } 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); } function hook_render_article($article) { return $rel; } if ($alt_text == $title_text){ } elseif (strpos($article["link"], "trenchescomic.com/comic/post/") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { if (preg_match("@.*(

New Pull Request