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

Extra whitespaces in output #50

Closed
wanton7 opened this issue Aug 8, 2015 · 1 comment
Closed

Extra whitespaces in output #50

wanton7 opened this issue Aug 8, 2015 · 1 comment

Comments

@wanton7
Copy link

wanton7 commented Aug 8, 2015

in lexer.go
line: text = strings.Replace(lexer.Text, "\r", "\n", -1)
should be: text = strings.Replace(text, "\r", "\n", -1)

or maybe just remove that line and replace line above with: text := strings.Replace(lexer.Text, "\r", "", -1)

@yajiya
Copy link

yajiya commented Jun 16, 2016

@wanton7 it's fixed and you may close it now.

@wanton7 wanton7 closed this as completed Jun 16, 2016
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

No branches or pull requests

2 participants