Fix unit tests.
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