From: Paul Hänsch Date: Tue, 18 Jun 2019 17:46:56 +0000 (+0200) Subject: Merge branch 'master' of git.plutz.net:clickslide X-Git-Url: http://git.plutz.net/?p=clickslide;a=commitdiff_plain;h=8ccb37d9fc6776210e3e63cdffb96ec762af7067;hp=39a000d658162202953c2bb16104d6c1d4246aac Merge branch 'master' of git.plutz.net:clickslide --- diff --git a/clickslide.sh b/clickslide.sh index 980365f..e78f1c7 100755 --- a/clickslide.sh +++ b/clickslide.sh @@ -33,7 +33,7 @@ base64() { pre="${tag%%url(*)*}" post="${tag#*url(*)}" file="${tag#${pre}url(}" file="${file%)$post}" - file="${file#"}" file="${file%"}" + file="${file#\"}" file="${file%\"}" echo Inlining Background Image "$file" >&2 if [ -r "$file" ]; then tag="${pre}url('data:image/${file##*.};base64,$(base64 "$file")')${post}"