We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0169122 commit 671ab05Copy full SHA for 671ab05
1 file changed
server/template.go
@@ -165,7 +165,7 @@ func searchJS(uris []string, b *bytes.Buffer) {
165
var urls = [];`)
166
for _, u := range uris {
167
encodedURL, _ := json.Marshal(u)
168
- b.WriteString(fmt.Sprintf("\n urls.push(window.open(%s));", encodedURL))
+ fmt.Fprintf(b, "\n urls.push(window.open(%s));", encodedURL)
169
}
170
b.WriteString(`
171
var goBack = function () {
0 commit comments