From d380d4508000708da9abf63fa92245934b6fc9dd Mon Sep 17 00:00:00 2001 From: BigManing Date: Tue, 5 Jan 2021 18:53:23 +0800 Subject: [PATCH] Update xkcd_store.go fix store result url : add colon --- _examples/xkcd_store/xkcd_store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_examples/xkcd_store/xkcd_store.go b/_examples/xkcd_store/xkcd_store.go index f549885be..43f233a16 100644 --- a/_examples/xkcd_store/xkcd_store.go +++ b/_examples/xkcd_store/xkcd_store.go @@ -33,7 +33,7 @@ func main() { e.ChildAttr("a", "title"), e.ChildText("span"), e.Request.AbsoluteURL(e.ChildAttr("a", "href")), - "https" + e.ChildAttr("img", "src"), + "https:" + e.ChildAttr("img", "src"), }) })