String (MavenProjectProblem each) { String description = ObjectUtils.chooseNotNull(each.getDescription(), each.getPath()); if (description == null) return ""; String text = StringUtil.replace(description, Arrays.asList("<", ">"), Arrays.asList("&lt;", "&gt;")); StringBuilder result = new StringBuilder(); int count = 0; for (int i = 0; i < text.length(); i++) { char ch = text.charAt(i); result.append(ch); if (count++ > 80) { if (ch == ' ') { count = 0; result.append("<br>"); } } } return result.toString(); }