Skip to content

Commit

Permalink
UnicodeFileToHtmTextConverter/Java: added to the repo the external li…
Browse files Browse the repository at this point in the history
…brary and updated the import.
  • Loading branch information
Luca Minudel committed Sep 12, 2013
1 parent 45f40e5 commit 7ebc888
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Binary file not shown.
@@ -1,11 +1,11 @@
package tddmicroexercises.textconvertor;

import org.apache.commons.lang3.StringEscapeUtils;

import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;

import org.apache.commons.lang.StringEscapeUtils;

public class UnicodeFileToHtmlTextConverter
{
private String fullFilenameWithPath;
Expand All @@ -23,7 +23,7 @@ public String convertToHtml() throws IOException{
String html = "";
while (line != null)
{
html += StringEscapeUtils.escapeHtml(line);
html += StringEscapeUtils.escapeHtml4(line);
html += "<br />";
line = reader.readLine();
}
Expand Down

0 comments on commit 7ebc888

Please sign in to comment.