From c3d401d479630d2af1c4c6ddd716433cd81949ec Mon Sep 17 00:00:00 2001 From: Tom Morris Date: Sun, 21 Dec 2014 13:09:50 -0500 Subject: [PATCH] Fix CSV quote escaping via @annolangen from PR #853 --- .../google/refine/extension/gdata/FusionTableSerializer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/gdata/src/com/google/refine/extension/gdata/FusionTableSerializer.java b/extensions/gdata/src/com/google/refine/extension/gdata/FusionTableSerializer.java index 8ef34e389..ef7dcd326 100644 --- a/extensions/gdata/src/com/google/refine/extension/gdata/FusionTableSerializer.java +++ b/extensions/gdata/src/com/google/refine/extension/gdata/FusionTableSerializer.java @@ -107,7 +107,7 @@ final class FusionTableSerializer implements TabularSerializer { } sb.append("\""); if (cellData != null && cellData.text != null) { - sb.append(cellData.text.replaceAll("\"", "\\\\\"")); + sb.append(cellData.text.replaceAll("\"", "\"\"")); } sb.append("\""); }