1. Jonatan Froes
  2. CodeIgniter Reactor

Commits

Phil Sturgeon  committed c1584c4

Standardized newlines even more extensively in Input class.

  • Participants
  • Parent commits ec9b4bc
  • Branches default

Comments (0)

Files changed (1)

File system/core/Input.php

View file
 		{
 			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);
 			}
 		}