3
1
Back

And quotes in alt/title text under images (extra useful for non-browser users else { return $base.$rel; if ($rel[0] == '#' || $rel[0] == '?') { return $article; } function get_img_tags($xpath, $query, &$article, $base_url=NULL) { function init($host) { // $xpath = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ if ($img->getAttribute('title')) { // Achewood (alt tag already present) // Wondermark (alt tag already present foreach($imgs as $img){ $article['content'] .= "

" . $entry->textContent . "

"; } } .

New Pull Request