Browse Source

Merge pull request #1143 from Alkarex/SimplePie_Trim

SimplePie trim
Alexandre Alapetite 10 năm trước cách đây
mục cha
commit
cfb78c6f25
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      lib/SimplePie/SimplePie.php

+ 1 - 0
lib/SimplePie/SimplePie.php

@@ -1668,6 +1668,7 @@ class SimplePie
 			$locate = null;
 		}
 
+		$file->body = trim($file->body);
 		$this->raw_data = $file->body;
 		$this->permanent_url = $file->permanent_url;
 		$headers = $file->headers;