mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-31 22:00:23 +02:00
[XPathAbstract] Fix relative links in fetched HTML (#3401)
* [core] Make defaultLinkTo compatible with DOMDocument * [XPathAbstract] Fix relative links in fetched HTML
This commit is contained in:
@@ -387,6 +387,9 @@ abstract class XPathAbstract extends BridgeAbstract
|
||||
libxml_clear_errors();
|
||||
libxml_use_internal_errors(false);
|
||||
|
||||
// fix relative links
|
||||
defaultLinkTo($webPageHtml, $this->feedUri);
|
||||
|
||||
$xpath = new \DOMXPath($webPageHtml);
|
||||
|
||||
$this->feedName = $this->provideFeedTitle($xpath);
|
||||
|
Reference in New Issue
Block a user