From 885d45db052eb5d73625a683b0d0c7c220de82ec Mon Sep 17 00:00:00 2001 From: ysqi Date: Mon, 4 Apr 2016 21:32:43 +0800 Subject: [PATCH] fix the issue #1850,the source of the problem is PR #1805 --- error.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/error.go b/error.go index 8cfa0c67..bad08d86 100644 --- a/error.go +++ b/error.go @@ -341,7 +341,7 @@ func responseError(rw http.ResponseWriter, r *http.Request, errCode int, errCont data := map[string]interface{}{ "Title": http.StatusText(errCode), "BeegoVersion": VERSION, - "Content": errContent, + "Content": template.HTML(errContent), } t.Execute(rw, data) }