Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read title and body by taking into account Windows line endings #806

Merged
merged 1 commit into from
Feb 13, 2015

Conversation

owenthereal
Copy link
Contributor

bufio.Scanner takes care of line endings difference for different OSes. See http://golang.org/pkg/bufio/#ScanLines.

This fixes #805

`bufio.Scanner` takes care of line endings difference for different OSes. See http://golang.org/pkg/bufio/#ScanLines.

This fixes #805
owenthereal added a commit that referenced this pull request Feb 13, 2015
Read title and body by taking into account Windows line endings
@owenthereal owenthereal merged commit 76c40fb into master Feb 13, 2015
@owenthereal owenthereal deleted the read_title_body_line_endings branch February 13, 2015 23:45
@mislav
Copy link
Owner

mislav commented Feb 14, 2015

Nice, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pull-request from file on windows does not parse title, body correctly
2 participants