diff --git a/wrp.go b/wrp.go index b4b64a9..6736e64 100644 --- a/wrp.go +++ b/wrp.go @@ -211,11 +211,11 @@ func capture(gourl string, w int64, h int64, s float64, co int, p int64, i bool, // Process Nodes base, _ := url.Parse(loc) if i { - fmt.Fprintf(out, "\"wrp\"", mappath, imgpath) + fmt.Fprintf(out, "\"wrp\"", mappath, imgpath) is = append(is, Ismap{xmin: -1, xmax: -1, ymin: -1, ymax: -1, url: fmt.Sprintf("/?url=%s&w=%d&h=%d&s=%1.2f&c=%d&i=on", loc, w, h, s, co)}) ion = "&i=on" } else { - fmt.Fprintf(out, "\"wrp\"\n\n", imgpath) + fmt.Fprintf(out, "\"wrp\"\n\n", imgpath) } for _, n := range nodes {