1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 23:25:56 +00:00

add a quick hack for imgur single page links

This commit is contained in:
Andrew Dolgov
2015-07-11 13:32:28 +03:00
parent 5f297a5c11
commit dae36971ae

View File

@@ -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');