We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e5a50f commit 6c74f8cCopy full SHA for 6c74f8c
1 file changed
server/src/main/kotlin/org/ivdnt/galahad/formats/xml/XmlReader.kt
@@ -170,7 +170,7 @@ abstract class XmlReader(stream: InputStream) : LayerReader() {
170
}
171
172
private fun parseChars() {
173
- val words = reader.text.ifBlank { null }?.split(whitespace) ?: emptyList()
+ val words = reader.text.ifBlank { null }?.trim()?.split(whitespace) ?: emptyList()
174
for ((j, word) in words.withIndex()) {
175
if (j > 0) newWordform()
176
literal += word
0 commit comments