From 98662d92070d984bb25909898d4a75520bc81279 Mon Sep 17 00:00:00 2001 From: clam Date: Tue, 29 Nov 2022 16:21:29 +0100 Subject: [PATCH] ESURVEY-7882 --- src/main/java/com/ec/survey/tools/export/XmlExportCreator.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/ec/survey/tools/export/XmlExportCreator.java b/src/main/java/com/ec/survey/tools/export/XmlExportCreator.java index fa762616f..a9be02b88 100644 --- a/src/main/java/com/ec/survey/tools/export/XmlExportCreator.java +++ b/src/main/java/com/ec/survey/tools/export/XmlExportCreator.java @@ -922,6 +922,7 @@ void parseAnswerSet(Survey survey, XMLStreamWriter writer, List questio for (String answer : answers) { if (answer.length() > 0) { + answer = answer.trim(); writer.writeStartElement(ANSWER); writer.writeAttribute("qid", question.getUniqueId()); if (question instanceof ChoiceQuestion) {