1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-26 02:51:28 +00:00

fix the issue #1850,the source of the problem is PR #1805

This commit is contained in:
ysqi 2016-04-04 21:32:43 +08:00
parent ebdf4412b3
commit 885d45db05

View File

@ -341,7 +341,7 @@ func responseError(rw http.ResponseWriter, r *http.Request, errCode int, errCont
data := map[string]interface{}{ data := map[string]interface{}{
"Title": http.StatusText(errCode), "Title": http.StatusText(errCode),
"BeegoVersion": VERSION, "BeegoVersion": VERSION,
"Content": errContent, "Content": template.HTML(errContent),
} }
t.Execute(rw, data) t.Execute(rw, data)
} }