1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-22 21:50:55 +00:00

Merge pull request #1858 from ysqi/issue

fix the issue #1850,the source of the problem is PR #1805
This commit is contained in:
astaxie 2016-04-05 09:06:14 +08:00
commit 933ac0f369

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