From 9469e525035b7c13591f46cb9641d2a06e8881f3 Mon Sep 17 00:00:00 2001 From: kunfei Date: Tue, 17 Sep 2019 08:20:05 +0800 Subject: [PATCH] up --- app/src/main/java/io/legado/app/model/rss/RssParser.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/io/legado/app/model/rss/RssParser.kt b/app/src/main/java/io/legado/app/model/rss/RssParser.kt index 3c66389c7..2696fb26a 100644 --- a/app/src/main/java/io/legado/app/model/rss/RssParser.kt +++ b/app/src/main/java/io/legado/app/model/rss/RssParser.kt @@ -33,8 +33,8 @@ object RssParser { // Start parsing the item if (eventType == XmlPullParser.START_TAG) { when { - xmlPullParser.name - .equals(RSSKeywords.RSS_ITEM, true) -> insideItem = true + xmlPullParser.name.equals(RSSKeywords.RSS_ITEM, true) -> + insideItem = true xmlPullParser.name.equals(RSSKeywords.RSS_ITEM_TITLE, true) -> if (insideItem) currentArticle.title = xmlPullParser.nextText().trim() xmlPullParser.name.equals(RSSKeywords.RSS_ITEM_LINK, true) ->