diff --git a/output/outputs.go b/output/outputs.go index 341f682..2e3981a 100644 --- a/output/outputs.go +++ b/output/outputs.go @@ -146,7 +146,7 @@ func RunHandler(w http.ResponseWriter, r *http.Request) { wsChannel := session.OutputWS[sid] channelRet["cmd"] = "run-done" - channelRet["output"] = string(buf[:count]) + channelRet["output"] = "
" + string(buf[:count]) + "" err := wsChannel.Conn.WriteJSON(&channelRet) if nil != err { glog.Error(err)