mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 14:17:57 +01:00
Fix unit tests.
This commit is contained in:
parent
aed1c0afcb
commit
c86bd15382
@ -206,7 +206,7 @@ public class FreemindExporter
|
||||
final StringBuilder htmlContent = new StringBuilder("<html><head></head><body>");
|
||||
for (String line : text.split("\n")) {
|
||||
line = StringEscapeUtils.escapeXml(line);
|
||||
htmlContent.append("<p>").append(line).append("</p>");
|
||||
htmlContent.append("<p>").append(line.trim()).append("</p>");
|
||||
}
|
||||
htmlContent.append("</body></html>");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user