CodeSleeve/asset-pipeline — pull request #200 by teeli (2014-08-04 15:26:51+00:00)
Title: Platform independent new line replacement for JST templates

PHP_EOL will basically only replace \n, at least when running on *nix based server, so if template files are using Windows style line breaks (\r\n), they will not be minified to one line, causing JS errors as referenced in issue #190. This will replace any kind of line break (\n, \r\n or just \r).