正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
@@ -151,7 +151,7 @@ class Body { | @@ -151,7 +151,7 @@ class Body { | ||
151 | } | 151 | } |
152 | 152 | ||
153 | if(!$data->get('content-type')){ | 153 | if(!$data->get('content-type')){ |
154 | - $data->set('content-type','text/html'); | 154 | + $data->set('content-type','text/plain'); |
155 | } | 155 | } |
156 | 156 | ||
157 | $this->items[] = $this->bodyDeCode($data); | 157 | $this->items[] = $this->bodyDeCode($data); |
@@ -188,7 +188,7 @@ class Body { | @@ -188,7 +188,7 @@ class Body { | ||
188 | 188 | ||
189 | $data->body = $text; | 189 | $data->body = $text; |
190 | if(!$data->get('content-type')){ | 190 | if(!$data->get('content-type')){ |
191 | - $data->set('content-type','text/html'); | 191 | + $data->set('content-type','text/plain'); |
192 | } | 192 | } |
193 | $this->items[] = $this->bodyDeCode($data); | 193 | $this->items[] = $this->bodyDeCode($data); |
194 | } | 194 | } |
-
请 注册 或 登录 后发表评论