From 9f3e28c9e47ae5879986c3fdd39d1f1476bb350e Mon Sep 17 00:00:00 2001 From: eson <474420502@qq.com> Date: Thu, 20 Dec 2018 03:32:05 +0800 Subject: [PATCH] 213 --- parser_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser_test.go b/parser_test.go index ca2717e..641e575 100644 --- a/parser_test.go +++ b/parser_test.go @@ -45,7 +45,7 @@ func (tt *Toutiao) ToDoParser(adstring string) (string, error) { for _, data := range adlist { data = strings.Trim(data, "\"") unq, _ := strconv.Unquote("\"" + data + "\"") - unq, _ = strconv.Unquote("\"" + unq + "\"") + unq, _ = strconv.Unquote(unq) data = unq var v interface{} json.Unmarshal([]byte(data), &v)