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 }}" } }`))