Add support for emoijs in unsplash

This commit is contained in:
Hamcha 2018-11-16 17:02:48 +01:00
parent 5ebb98ec75
commit a6e013ede5
Signed by: hamcha
GPG Key ID: A40413D21021EAEE
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ func stripUnreadable(r rune) rune {
if r == '\n' || r == '\t' {
return ' '
}
if r < 32 || r >= 0x1f000 {
if r < 32 {
return -1
}
return r