Fix unit tests.

This commit is contained in:
Paulo Gustavo Veiga 2012-11-04 01:51:23 -03:00
parent aed1c0afcb
commit c86bd15382
3 changed files with 20 additions and 20 deletions

View File

@ -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>");