Revert "af_redditimgur: absolutize links before working on them"
This reverts commit 6a68ed0208
.
This commit is contained in:
parent
6a68ed0208
commit
e507d006fd
|
@ -651,9 +651,7 @@ class Af_RedditImgur extends Plugin {
|
||||||
$xpath = new DOMXPath($doc);
|
$xpath = new DOMXPath($doc);
|
||||||
|
|
||||||
/** @var ?DOMElement $content_link */
|
/** @var ?DOMElement $content_link */
|
||||||
$content_link = UrlHelper::rewrite_relative($article["link"],
|
$content_link = $xpath->query("(//a[contains(., '[link]')])")->item(0);
|
||||||
$xpath->query("(//a[contains(., '[link]')])")->item(0),
|
|
||||||
"a");
|
|
||||||
|
|
||||||
if ($this->host->get($this, "enable_content_dupcheck")) {
|
if ($this->host->get($this, "enable_content_dupcheck")) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue