Removed ignoring uppercase line in FB2 Text Parser. (As it may contain chapter name)
This commit is contained in:
parent
cae540ce87
commit
0e5c4a13e8
1 changed files with 0 additions and 14 deletions
|
|
@ -58,20 +58,6 @@ class Fb2TextParser @Inject constructor() : TextParser {
|
||||||
return@forEachIndexed
|
return@forEachIndexed
|
||||||
}
|
}
|
||||||
|
|
||||||
if (
|
|
||||||
line.all {
|
|
||||||
if (it == ' ') {
|
|
||||||
true
|
|
||||||
} else if (it.isUpperCase() || it.isDigit() || it == '-') {
|
|
||||||
true
|
|
||||||
} else {
|
|
||||||
false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
) {
|
|
||||||
return@forEachIndexed
|
|
||||||
}
|
|
||||||
|
|
||||||
if (line.all { it.isDigit() }) {
|
if (line.all { it.isDigit() }) {
|
||||||
return@forEachIndexed
|
return@forEachIndexed
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue