From 2241a0b2de2a116ca9d2f19ab5b3d5e7c03ecefb Mon Sep 17 00:00:00 2001 From: reconman Date: Tue, 20 Dec 2016 20:37:45 +0100 Subject: [PATCH] Using title instead of text for Mangahere titles (#591) Fixes #571 The text on the popular manga page of Mangahere contains escaped HTML characters. The title attributes of the links do not contain them. --- .../kanade/tachiyomi/data/source/online/english/Mangahere.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/source/online/english/Mangahere.kt b/app/src/main/java/eu/kanade/tachiyomi/data/source/online/english/Mangahere.kt index 157685871..5dc81f585 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/source/online/english/Mangahere.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/source/online/english/Mangahere.kt @@ -33,7 +33,7 @@ class Mangahere(override val id: Int) : ParsedOnlineSource() { override fun popularMangaFromElement(element: Element, manga: Manga) { element.select("div.title > a").first().let { manga.setUrlWithoutDomain(it.attr("href")) - manga.title = it.text() + manga.title = it.attr("title") } } @@ -52,7 +52,7 @@ class Mangahere(override val id: Int) : ParsedOnlineSource() { override fun searchMangaFromElement(element: Element, manga: Manga) { element.select("a.manga_info").first().let { manga.setUrlWithoutDomain(it.attr("href")) - manga.title = it.text() + manga.title = it.attr("title") } }