diff --git a/handlers/api_handler.go b/handlers/api_handler.go index a0cddb0a..607827bf 100644 --- a/handlers/api_handler.go +++ b/handlers/api_handler.go @@ -42,6 +42,7 @@ func (h APIHandler) respond(w http.ResponseWriter, status int, response interfac w.WriteHeader(status) encoder := json.NewEncoder(w) + encoder.SetEscapeHTML(false) err := encoder.Encode(response) if err != nil { h.logger.Error("encoding response", err, lager.Data{"status": status, "response": response})