add a quick hack for imgur single page links
This commit is contained in:
parent
5f297a5c11
commit
dae36971ae
|
@ -190,7 +190,7 @@ class Af_RedditImgur extends Plugin {
|
|||
|
||||
if (!in_array($aentry->getAttribute("content"), $urls)) {
|
||||
$img = $doc->createElement('img');
|
||||
$img->setAttribute("src", $aentry->getAttribute("content"));
|
||||
$img->setAttribute("src", str_replace("?fb", "", $aentry->getAttribute("content")));
|
||||
$entry->parentNode->insertBefore($doc->createElement('br'), $entry);
|
||||
|
||||
$br = $doc->createElement('br');
|
||||
|
|
Loading…
Reference in New Issue