From c85c17cc52c8ab720674f5c5f56ee1a2cdac22b1 Mon Sep 17 00:00:00 2001 From: toonn Date: Tue, 28 May 2019 14:50:09 +0200 Subject: Some SVG have MIME type image/svg Scope now treats `image/svg` the same as `image/svg+xml` `image/svg` is not an official MIME type afaics *but* `file(1)` does sometimes determine it to be an svg's MIME type. --- ranger/data/scope.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ranger/data/scope.sh b/ranger/data/scope.sh index e9c10916..9202146d 100755 --- a/ranger/data/scope.sh +++ b/ranger/data/scope.sh @@ -101,7 +101,7 @@ handle_image() { local mimetype="${1}" case "${mimetype}" in # SVG - # image/svg+xml) + # image/svg+xml|image/svg) # convert -- "${FILE_PATH}" "${IMAGE_CACHE_PATH}" && exit 6 # exit 1;; -- cgit 1.4.1-2-gfad0