unsplash: Replace whitespace with whitespace
This commit is contained in:
parent
0919398edc
commit
eb16747435
1 changed files with 3 additions and 0 deletions
|
@ -42,6 +42,9 @@ func initunsplash() {
|
|||
}
|
||||
|
||||
func stripUnreadable(r rune) rune {
|
||||
if r == '\n' || r == '\t' {
|
||||
return ' '
|
||||
}
|
||||
if r < 32 || r >= 0x1f000 {
|
||||
return -1
|
||||
}
|
||||
|
|
Reference in a new issue