diff --git a/core/img/image-optimization.sh b/core/img/image-optimization.sh index 3fad080dc7..b5de96e018 100755 --- a/core/img/image-optimization.sh +++ b/core/img/image-optimization.sh @@ -7,7 +7,7 @@ jpegoptim --strip-all *.jpg; for svg in `ls *.svg`; do mv $svg $svg.opttmp; - scour -i $svg.opttmp -o $svg --create-groups --enable-id-stripping --enable-comment-stripping --shorten-ids --remove-metadata; + scour -i $svg.opttmp -o $svg --create-groups --enable-id-stripping --enable-comment-stripping --shorten-ids --remove-metadata --strip-xml-prolog --no-line-breaks; done; rm *.opttmp for dir in `ls -d */`;