mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 22:27:55 +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>");
|
final StringBuilder htmlContent = new StringBuilder("<html><head></head><body>");
|
||||||
for (String line : text.split("\n")) {
|
for (String line : text.split("\n")) {
|
||||||
line = StringEscapeUtils.escapeXml(line);
|
line = StringEscapeUtils.escapeXml(line);
|
||||||
htmlContent.append("<p>").append(line).append("</p>");
|
htmlContent.append("<p>").append(line.trim()).append("</p>");
|
||||||
}
|
}
|
||||||
htmlContent.append("</body></html>");
|
htmlContent.append("</body></html>");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user