Hacker News new | ask | show | jobs
by adamdennis 1140 days ago
Somethings up with GH’s rendering… when we view the raw sc, it’s un-minified:

https://raw.githubusercontent.com/retrospectmike/MacDock/mai...

1 comments

MacOS traditionally used `\r` for line endings. Unix (and thus macOS 10+) uses `\n` and Windows `\r\n`. Github isn't properly recognizing the files have classic MacOS line endings
Yup, this is it. Newline and CR + NL are the only recognized line endings on Github. You see this often on old source dumps (the Prince of Persia source release stands out, IIRC) of Classic Mac software.