作者 邓超

解析时多标题多出的空格

@@ -973,7 +973,6 @@ class Home extends Base { @@ -973,7 +973,6 @@ class Home extends Base {
973 } 973 }
974 974
975 if($data){ 975 if($data){
976 - $data['subject'] = str_replace("\n ",'',$data['subject']);  
977 $data['uuid'] = get_email_uuid($data['subject'],$data['udate'],$data['from'],$data['to'],$data['size']); 976 $data['uuid'] = get_email_uuid($data['subject'],$data['udate'],$data['from'],$data['to'],$data['size']);
978 977
979 $data['description'] = @html_entity_decode($data['description']??'', ENT_COMPAT, 'UTF-8'); 978 $data['description'] = @html_entity_decode($data['description']??'', ENT_COMPAT, 'UTF-8');
@@ -269,8 +269,6 @@ class HomeEs extends Base { @@ -269,8 +269,6 @@ class HomeEs extends Base {
269 $v = $v['_source']; 269 $v = $v['_source'];
270 $v['id'] = $v['uuid']; 270 $v['id'] = $v['uuid'];
271 271
272 - $v['subject'] = str_replace("\n ",'',$v['subject']);  
273 -  
274 $v['from_name'] = $v['from']['name']??''; 272 $v['from_name'] = $v['from']['name']??'';
275 $v['from'] = $v['from']['email']??''; 273 $v['from'] = $v['from']['email']??'';
276 274
@@ -252,8 +252,6 @@ class MailListV2Es extends Base { @@ -252,8 +252,6 @@ class MailListV2Es extends Base {
252 $v = $v['_source']; 252 $v = $v['_source'];
253 $v['id'] = $v['uuid']; 253 $v['id'] = $v['uuid'];
254 254
255 - $v['subject'] = str_replace("\n ",'',$v['subject']);  
256 -  
257 $v['from_name'] = $v['from']['name']??''; 255 $v['from_name'] = $v['from']['name']??'';
258 $v['from'] = $v['from']['email']??''; 256 $v['from'] = $v['from']['email']??'';
259 257