From: Andrew Dolgov Date: Fri, 8 Aug 2014 07:10:52 +0000 (+0400) Subject: af_comics_gocomics: fix indenting X-Git-Tag: 1.14~43 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=9203929c28489e8a17770ddc61af6be817ca2a7a;p=tt-rss.git af_comics_gocomics: fix indenting --- diff --git a/plugins/af_comics/filters/af_comics_gocomics.php b/plugins/af_comics/filters/af_comics_gocomics.php index 19ffe33f..d950dbe6 100644 --- a/plugins/af_comics/filters/af_comics_gocomics.php +++ b/plugins/af_comics/filters/af_comics_gocomics.php @@ -29,18 +29,16 @@ class Af_Comics_GoComics extends Af_ComicFilter { } } - if (!$basenode) { - // fallback on the smaller version - foreach ($entries as $entry) { - - if (preg_match("/(http:\/\/assets.amuniversal.com\/.*)/i", $entry->getAttribute("src"), $matches)) { - - $entry->setAttribute("src", $matches[0]); - $basenode = $entry; - break; - } - } - } + if (!$basenode) { + // fallback on the smaller version + foreach ($entries as $entry) { + if (preg_match("/(http:\/\/assets.amuniversal.com\/.*)/i", $entry->getAttribute("src"), $matches)) { + $entry->setAttribute("src", $matches[0]); + $basenode = $entry; + break; + } + } + } if ($basenode) { $article["content"] = $doc->saveXML($basenode);