Merge branch 'master' of git.tt-rss.org:git/tt-rss
This commit is contained in:
commit
916c1e9b16
1 changed files with 2 additions and 2 deletions
|
@ -575,9 +575,9 @@
|
||||||
$doc->loadHTML($html);
|
$doc->loadHTML($html);
|
||||||
$xpath = new DOMXPath($doc);
|
$xpath = new DOMXPath($doc);
|
||||||
|
|
||||||
$base = $xpath->query('/html/head/base');
|
$base = $xpath->query('/html/head/base[@href]');
|
||||||
foreach ($base as $b) {
|
foreach ($base as $b) {
|
||||||
$url = $b->getAttribute("href");
|
$url = rewrite_relative_url($url, $b->getAttribute("href"));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue