mirror of
https://github.com/astaxie/beego.git
synced 2025-04-09 08:10:18 +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:
commit
933ac0f369
2
error.go
2
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)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user