优化正文

pull/1319/head
gedoor 3 years ago
parent b8cc77a6fd
commit 0f6056e389
  1. 2
      app/src/main/java/io/legado/app/help/ContentProcessor.kt

@ -126,7 +126,7 @@ class ContentProcessor private constructor(
val paragraph = str.trim { val paragraph = str.trim {
it.code <= 0x20 || it == ' ' it.code <= 0x20 || it == ' '
} }
if (contents.isNotEmpty()) { if (paragraph.isNotEmpty()) {
contents.add("${ReadBookConfig.paragraphIndent}$paragraph") contents.add("${ReadBookConfig.paragraphIndent}$paragraph")
} }
} }

Loading…
Cancel
Save