Remove replacement characters from manga description
This commit is contained in:
@@ -11,6 +11,7 @@ import kotlinx.coroutines.flow.flow
|
||||
import kotlinx.coroutines.flow.map
|
||||
import org.koitharu.kotatsu.core.db.MangaDatabase
|
||||
import org.koitharu.kotatsu.core.util.ext.findKeyByValue
|
||||
import org.koitharu.kotatsu.core.util.ext.sanitize
|
||||
import org.koitharu.kotatsu.parsers.model.MangaChapter
|
||||
import org.koitharu.kotatsu.parsers.util.runCatchingCancellable
|
||||
import org.koitharu.kotatsu.scrobbling.common.data.ScrobblingEntity
|
||||
@@ -123,7 +124,7 @@ abstract class Scrobbler(
|
||||
rating = rating,
|
||||
title = mangaInfo.name,
|
||||
coverUrl = mangaInfo.cover,
|
||||
description = mangaInfo.descriptionHtml.parseAsHtml(),
|
||||
description = mangaInfo.descriptionHtml.parseAsHtml().sanitize(),
|
||||
externalUrl = mangaInfo.url,
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user