diff --git a/mods/unsplash.go b/mods/unsplash.go index 1ba99ca..d2436e6 100644 --- a/mods/unsplash.go +++ b/mods/unsplash.go @@ -42,6 +42,9 @@ func initunsplash() { } func stripUnreadable(r rune) rune { + if r == '\n' || r == '\t' { + return ' ' + } if r < 32 || r >= 0x1f000 { return -1 }