From 9375f4fd980241bea028801c7762070db8989ebc Mon Sep 17 00:00:00 2001 From: eson <474420502@qq.com> Date: Thu, 20 Dec 2018 03:30:10 +0800 Subject: [PATCH] 213 --- parser_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/parser_test.go b/parser_test.go index 529d1a0..ca2717e 100644 --- a/parser_test.go +++ b/parser_test.go @@ -45,6 +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 + "\"") data = unq var v interface{} json.Unmarshal([]byte(data), &v)