3
1
Back

Use both. $alt_element = $doc->createElement("i", $alt_text); $para_element->appendChild($alt_element); $para_element->appendChild($doc->createElement("br")); $title_element = $doc->createElement("i", $title_text); $para_element->appendChild($title_element); } main synth_tools/PSU/psu.diy 1077 lines From fcf4fb3bc8495c3ea3f97c0ede434011bd3d876e Mon Sep 17 00:00:00 2001 Subject: [PATCH] Fixes for CAD and sorcery101 Fix 3-panel soul drugs & wires, pilotside elseif (strpos($article["link"], "chainsawsuit.com/comic/") !== FALSE ) { // Manic Pixie Nightmare Girls elseif (strpos($article["link"], "sorcery101.net/the-city-between/thebettertofindyouwith") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='img-comic-container']//img", $article); } // XKCD (alt tags we don't need to call out for elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { if ($img->getAttribute('title')) { $article['content'] .= "

" . $entry->textContent . "

"; $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } } Invisible Bread, Softer World (alt tags we don't need to call out for elseif (strpos($article['content'], 'wondermark.com/c') .

New Pull Request