Commits

Phil Sturgeon committed c1584c4

Standardized newlines even more extensively in Input class.

Comments (0)

Files changed (1)

system/core/Input.php

 		{
 			if (strpos($str, "\r") !== FALSE)
 			{
-				$str = str_replace(array("\r\n", "\r"), PHP_EOL, $str);
+				$str = str_replace(array("\r\n", "\r", "\r\n\n"), PHP_EOL, $str);
 			}
 		}