From 9203929c28489e8a17770ddc61af6be817ca2a7a Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 8 Aug 2014 11:10:52 +0400 Subject: [PATCH] af_comics_gocomics: fix indenting --- .../af_comics/filters/af_comics_gocomics.php | 22 +++++++++---------- 1 file changed, 10 insertions(+), 12 deletions(-) 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); -- 2.39.5