From 875c665542ece7093098675390675b148f706fda Mon Sep 17 00:00:00 2001 From: eson <474420502@qq.com> Date: Thu, 20 Dec 2018 03:25:25 +0800 Subject: [PATCH] 213 --- parser_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parser_test.go b/parser_test.go index 6280b20..a4c4c3f 100644 --- a/parser_test.go +++ b/parser_test.go @@ -44,12 +44,12 @@ func (tt *Toutiao) ToDoParser(adstring string) (string, error) { for _, data := range adlist { data = strings.Trim(data, "\"") - unq, err := strconv.Unquote("\"" + data + "\"") + unq, err := strconv.Unquote(data) if err != nil { log.Println(err) } else { - unq, err = strconv.Unquote("\"" + unq + "\"") + unq, err = strconv.Unquote(unq) if err != nil { log.Println(err) } else {