Closed GoogleCodeExporter closed 9 years ago
The reason this happens is because in the javascript the \n is printed as a
rowbreak inside a string, thus breaking the javascript.
Original comment by saik...@gmail.com
on 17 Dec 2012 at 11:35
[deleted comment]
For anyone else who has this problem and is looking for a solution, we made a
utility class with a method that cleans strings from characters which causes
problems in AJAX contexts.
public static String cleanString(String string){
if (string==null || string.equals(null) || string.isEmpty()){
return "";
} else {
String clean = string;
clean = clean.replaceAll("\\p{C}|\\p{Cf}|\n|\t|\f|\n", "?");
return clean;
}
}
Original comment by fre.and....@gmail.com
on 15 Jan 2013 at 1:43
The issue was either
-not reproducable
-there is a newer version available
-reported in a version which is no longer supported
if the issue is still present in the latest version (6.9+) then please reopen
the issue with the required information to reproduce the issue.
Original comment by hielke.hoeve
on 26 Nov 2013 at 8:37
Original issue reported on code.google.com by
fre.and....@gmail.com
on 27 Nov 2012 at 5:07