stephen-hardy / xlsx.js

XLSX.js is a JavaScript library for converting the data in base64 XLSX files into JavaScript objects - and back! Please note that this library is licensed under the Microsoft Office Extensible File License - a license NOT approved by the OSI. While this license is based off of the MS-PL, which is OSI-approved, there are significant differences.
http://blog.innovatejs.com/?tag=xlsx-js
Other
575 stars 122 forks source link

Bug fixes for v2.0 with correct line endings #7

Closed mmmichl closed 11 years ago

mmmichl commented 11 years ago

Finally I managed to convert the new lines to CRLF. It wasn't that straight forward, but I learned some things, maybe it also helps you:

Maybe you can consider to normalize the new lines at the next bigger release.

Thanks again for the library :+1:

stephen-hardy commented 11 years ago

Hi Michael,

Thanks for the information regarding the line endings. I'm still rather new to GitHub, and didn't know there was a way to automatically take care of it. The js file should now be in LF, and .gitattributes should prevent anyone from running into this issue again with this repository - or DOCX.js.

Stephen