-
Notifications
You must be signed in to change notification settings - Fork 3
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
Issue: new lines with extra character #20
Labels
bug
Something isn't working
Comments
Example: Line 21 in e0bfadd
Maybe we should get something like: return fmt.Sprintf("# %-16s %s #%s", hfl.Address, strings.Join(hfl.Hostnames, " "), hfl.Comment) That will keep the 16chars for address and uses a space to separate IP-Hostnames-Comment parts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Lines added by this library has an extra \t character you can see in hosty output as described here: areYouLazy/hosty#2
To Reproduce
Steps to reproduce the behavior:
Expected behavior
New lines should not add extra characters, also considering we can't have lines with infinite length
The text was updated successfully, but these errors were encountered: