3
1
Back

} set_screw_hole(); } arrow_indicator(); indentations(); } } //Sites that provide images and just need alt tags elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return $this->mangle_article($article); } function rel2abs($rel, $base) { function get_img_tags($xpath, $query, $article, $base_url=NULL) { $img_attributes_whitelist = array('src', 'alt', 'title'); $new_src = $this->rel2abs($orig_src, $article['link']); if ($alt_text && $alt_text != $article['title']){ $result_html .= "
Alt: " . $img->getAttribute('title') . ""; } } if(ADD_IDS){ $article['content'] .= "
Alt: " . $article['id']; } return $article.

New Pull Request