diff options
-rwxr-xr-x | core/img/image-optimization.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/img/image-optimization.sh b/core/img/image-optimization.sh index 3fad080dc79..b5de96e018b 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 */`; |