|
@@ -1,6 +1,7 @@
|
|
package eu.kanade.tachiyomi.data.track.mangaupdates.dto
|
|
package eu.kanade.tachiyomi.data.track.mangaupdates.dto
|
|
|
|
|
|
import eu.kanade.tachiyomi.data.track.model.TrackSearch
|
|
import eu.kanade.tachiyomi.data.track.model.TrackSearch
|
|
|
|
+import eu.kanade.tachiyomi.util.lang.htmlDecode
|
|
import kotlinx.serialization.SerialName
|
|
import kotlinx.serialization.SerialName
|
|
import kotlinx.serialization.Serializable
|
|
import kotlinx.serialization.Serializable
|
|
|
|
|
|
@@ -25,10 +26,10 @@ data class Record(
|
|
fun Record.toTrackSearch(id: Int): TrackSearch {
|
|
fun Record.toTrackSearch(id: Int): TrackSearch {
|
|
return TrackSearch.create(id).apply {
|
|
return TrackSearch.create(id).apply {
|
|
media_id = [email protected] ?: 0L
|
|
media_id = [email protected] ?: 0L
|
|
- title = [email protected] ?: ""
|
|
|
|
|
|
+ title = [email protected]?.htmlDecode() ?: ""
|
|
total_chapters = 0
|
|
total_chapters = 0
|
|
cover_url = [email protected]?.url?.original ?: ""
|
|
cover_url = [email protected]?.url?.original ?: ""
|
|
- summary = [email protected] ?: ""
|
|
|
|
|
|
+ summary = [email protected]?.htmlDecode() ?: ""
|
|
tracking_url = [email protected] ?: ""
|
|
tracking_url = [email protected] ?: ""
|
|
publishing_status = ""
|
|
publishing_status = ""
|
|
publishing_type = [email protected]()
|
|
publishing_type = [email protected]()
|