Apply sebb's suggestion.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@612880 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0dfc77769f
commit
680d605d3f
|
@ -851,7 +851,7 @@ public class StringEscapeUtils {
|
|||
|
||||
if ( StringUtils.containsAny(quoteless, CSV_SEARCH_CHARS) ) {
|
||||
// deal with escaped quotes; ie) ""
|
||||
str = StringUtils.replace(quoteless, "" + CSV_QUOTE + CSV_QUOTE, CSV_QUOTE_STR);
|
||||
str = StringUtils.replace(quoteless, CSV_QUOTE_STR + CSV_QUOTE_STR, CSV_QUOTE_STR);
|
||||
}
|
||||
|
||||
out.write(str);
|
||||
|
|
Loading…
Reference in New Issue