From 99d4f700be67927d953ac748b265bdf8a73aeabf Mon Sep 17 00:00:00 2001 From: Raimund Renkert Date: Mon, 9 Mar 2015 15:01:47 +0100 Subject: [PATCH] Surround player name attribute with double quotes. --- cmd/mtwebmapper/players.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/mtwebmapper/players.go b/cmd/mtwebmapper/players.go index 323b11f..5f575e4 100644 --- a/cmd/mtwebmapper/players.go +++ b/cmd/mtwebmapper/players.go @@ -21,7 +21,7 @@ var geoJSONTmpl = template.Must(template.New("geojson").Parse( "coordinates": [{{.X}}, {{.Z}}] }, "properties": { - "name": {{.Name || html }} + "name": "{{.Name | html }}" } }`))