grunt-usemin
grunt-usemin copied to clipboard
Fix for inconsistent line feed
Replacing the lines with original method not works for cases when the carrige return is inconsistent across the file, it makes the whole block not to get replaced because after concatenation you get a block which is different from original
Replacing the lines with original method not works for cases when the carrige return is inconsistent across the file,
Do you have a test case or example of this that fails without the patch you've supplied?
I can confirm this patch resolves a bug causing the blocks not to be replaced on Windows. Great work @lu4
Like Addy said, this needs a failing unit test so it can be verified