3
1
Back

$matches)) { } $article = $this->alt_textify($article); if (ADD_IDS) { $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach ($imgs as $img) { if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return 2; } /* absolute URL */ $abs = "$host$path/$rel"; /* replace '//' or '/./' or '/foo.

New Pull Request