mirror of
https://github.com/cjdenio/crossword.git
synced 2026-10-03 11:06:19 +00:00
make it possible to check puzzle in the future
This commit is contained in:
5 files changed
+59
-29
No files matched your search
+2
-2
@@ -87,9 +87,9 @@ func readText(b *bufio.Reader, version string) (string, error) {
|
||||
return "", err
|
||||
}
|
||||
|
||||
return decoded, nil
|
||||
return strings.TrimSpace(decoded), nil
|
||||
} else {
|
||||
return string(text[:len(text)-1]), nil
|
||||
return strings.TrimSpace(string(text[:len(text)-1])), nil
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user