Inconsistency between browsers: line endings #2

Closed
suprMax opened this Issue Nov 29, 2011 · 2 comments

Projects

None yet

2 participants

suprMax commented Nov 29, 2011

You should probably normalize for inconsistencies between browsers. E.g. Gecko and WebKit make like endings as "\n" which counts as one symbol, but Presto inserts "\r\n" which makes 2. I usually use .replace(/r\n\/g, '\n')

Owner

Which of the mothereffing tools are you talking about? The byte counter?

Owner

The byte counter will now normalize line endings. Let me know if you were talking about a different tool :) Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment