Trim feature elements

Change-Id: I51d74ca15889a517a8f4c4bcfc377cc27e86a7b4
diff --git a/app/src/main/kotlin/de/ids_mannheim/korapxmltools/KorapXml2Conllu.kt b/app/src/main/kotlin/de/ids_mannheim/korapxmltools/KorapXml2Conllu.kt
index bdaf25b..e0d876a 100644
--- a/app/src/main/kotlin/de/ids_mannheim/korapxmltools/KorapXml2Conllu.kt
+++ b/app/src/main/kotlin/de/ids_mannheim/korapxmltools/KorapXml2Conllu.kt
@@ -372,7 +372,7 @@
                 val fromTo = "${node.getAttribute("from")}-${node.getAttribute("to")}"
                 IntStream.range(0, features.length).mapToObj(features::item).forEach { feature ->
                         val attr = (feature as Element).getAttribute("name")
-                        val value = feature.textContent
+                        val value = feature.textContent.trim()
                         when (attr) {
                             "lemma" -> fs.lemma = value
                             "upos" -> fs.upos = value