mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-29 22:29:56 +02:00
exif: Allow more spacing characters in strings
The root cause of issue #8079 was a non-breaking space (U+0160). `unicode.IsPrint` only allows the ASCII space (U+0020). Be more lenient by using `unicode.IsGraphic` instead. Fixes #8079
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
4d24e2a326
commit
0a2ab3f8fe
BIN
resources/testdata/iss8079.jpg
vendored
Normal file
BIN
resources/testdata/iss8079.jpg
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 114 KiB |
Reference in New Issue
Block a user