summaryrefslogtreecommitdiff
path: root/filter/str
diff options
context:
space:
mode:
Diffstat (limited to 'filter/str')
-rw-r--r--filter/str/string.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/filter/str/string.go b/filter/str/string.go
index f6087be..a5017b5 100644
--- a/filter/str/string.go
+++ b/filter/str/string.go
@@ -29,6 +29,8 @@ func New(kv map[string]string) filter.Filter {
replmap := make(map[string]Replacer, len(kv))
for field, repl := range kv {
+ field := strings.Replace(field, "\"", "", -1)
+ repl := strings.Replace(repl, "\"", "", -1)
replmap[field] = strings.NewReplacer(strings.Split(repl, "/")...)
}