Trim Mangadex descriptions, fixes extra blank lines
This commit is contained in:
parent
8e03375664
commit
114fb723dc
@ -169,7 +169,7 @@ class MdUtil {
|
|||||||
englishDescriptionTags.forEach {
|
englishDescriptionTags.forEach {
|
||||||
newDescription = newDescription.replace(it, "")
|
newDescription = newDescription.replace(it, "")
|
||||||
}
|
}
|
||||||
return cleanString(newDescription)
|
return cleanString(newDescription).trim()
|
||||||
}
|
}
|
||||||
|
|
||||||
fun getImageUrl(attr: String): String {
|
fun getImageUrl(attr: String): String {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user