hi guys. I am trying to solve the following problem in Go: I have a go template that just uses {{.Body}} or {{printed “%s” .Body}} for output.
on the go side I am using templates.ExecuteTemplate(w,“view.html”,data) as input.
the data.Body is a []byte which contains valid HTML.
The problem is, in the browser, or the templates.Execute only send escaped text to the browser. But it should not so I can create html on the server side

any ideas on how to solve this?


#ioqbpxq