mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
Fix collapsed descriptions sometimes still having double new lines
This commit is contained in:
parent
41ee132db3
commit
b0b6d92f2a
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ class MangaHeaderHolder(
|
|||
desc.isNullOrBlank() -> itemView.context.getString(R.string.no_description)
|
||||
binding.mangaSummary.maxLines != Int.MAX_VALUE -> desc.replace(
|
||||
Regex(
|
||||
"[\\r\\n]{2,}",
|
||||
"[\\r\\n\\s*]{2,}",
|
||||
setOf(RegexOption.MULTILINE)
|
||||
),
|
||||
"\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue