Incorrect parsing of HTML entities in manga author and artists on Mangadex (#2588)

* Incorrect parsing of HTML entities in manga author and artists ; Fixes #1020

* Update version for #1020
This commit is contained in:
Xéfir Destiny 2020-04-04 16:10:41 +02:00 committed by GitHub
parent 050f3ba303
commit 0b3e69ec69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ ext {
appName = 'Tachiyomi: MangaDex'
pkgNameSuffix = 'all.mangadex'
extClass = '.MangadexFactory'
extVersionCode = 86
extVersionCode = 87
libVersion = '1.2'
}

View File

@ -390,8 +390,8 @@ abstract class Mangadex(
manga.title = cleanString(mangaJson.get("title").string)
manga.thumbnail_url = cdnUrl + mangaJson.get("cover_url").string
manga.description = cleanString(mangadexDescription.clean(internalLang, mangaJson.get("description").string))
manga.author = mangaJson.get("author").string
manga.artist = mangaJson.get("artist").string
manga.author = cleanString(mangaJson.get("author").string)
manga.artist = cleanString(mangaJson.get("artist").string)
val status = mangaJson.get("status").int
val finalChapterNumber = getFinalChapter(mangaJson)
if ((status == 2 || status == 3) && chapterJson != null && isMangaCompleted(chapterJson, finalChapterNumber)) {