3
1
Back

Spaces in img src and quotes in alt/title text under images (extra useful for non-browser users $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry){ $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } if(preg_match("@.*(textContent . "

"; } } // Questionable Content (cleanup elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { $doc = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $orig_content = strip_tags($article['content']); $article['content'] .= "

$orig_content

"; //also append the blarg post because that's small, interesting, $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img_tag . $article['content']; } // Timothy Winchester (People I Know) $article['content'] .= "

" . $entry->textContent . "

"; } } return.

New Pull Request