From 5f51ef354fdfdf86cd5170888758c80b3ec2d2f6 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Mon, 28 Jul 2025 21:59:23 +0200 Subject: [PATCH] fix(goplay): replace quotes --- static/js/custom.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/custom.js b/static/js/custom.js index 1322d0d..e8d886e 100644 --- a/static/js/custom.js +++ b/static/js/custom.js @@ -118,7 +118,7 @@ ${code} func r(f *form.Form) { render := theme.NewRenderer(theme.Html5) - tpl, _ := template.New('example').Funcs(render.FuncMap()).Parse(\`{{ form_widget (.Form.GetField "Foo") }}\`) + tpl, _ := template.New("example").Funcs(render.FuncMap()).Parse(\`{{ form_widget (.Form.GetField "Foo") }}\`) b := new(strings.Builder) tpl.Execute(b, map[string]any{"Form": f}) fmt.Println(b.String())