diff --git a/wise-webapp/src/main/java/com/wisemapping/exporter/FreemindExporter.java b/wise-webapp/src/main/java/com/wisemapping/exporter/FreemindExporter.java index 77f96b25..993dc8e6 100755 --- a/wise-webapp/src/main/java/com/wisemapping/exporter/FreemindExporter.java +++ b/wise-webapp/src/main/java/com/wisemapping/exporter/FreemindExporter.java @@ -206,7 +206,7 @@ public class FreemindExporter final StringBuilder htmlContent = new StringBuilder("
"); for (String line : text.split("\n")) { line = StringEscapeUtils.escapeXml(line); - htmlContent.append("").append(line).append("
"); + htmlContent.append("").append(line.trim()).append("
"); } htmlContent.append(""); diff --git a/wise-webapp/src/test/resources/data/wisemaps/bug3.mmr b/wise-webapp/src/test/resources/data/wisemaps/bug3.mmr index fd2e1044..a05f92be 100644 --- a/wise-webapp/src/test/resources/data/wisemaps/bug3.mmr +++ b/wise-webapp/src/test/resources/data/wisemaps/bug3.mmr @@ -25,7 +25,7 @@Firm's turnover from (new to firm)
-product innovation (as a pecentage of total turnover)
+product innovation (as a pecentage of total turnover)