From 4d7c2bfc2c9e3769dbc5a34a706b9d4cb8d0a14a Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Thu, 16 Feb 2023 20:35:05 -0500 Subject: use pixelated image rendering mode for QR codes --- process-static | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'process-static') diff --git a/process-static b/process-static index 0ce73f92..a8e2e38d 100755 --- a/process-static +++ b/process-static @@ -77,7 +77,8 @@ sed -i "$replace" static-tmp/releases.html gixy nginx-tmp/nginx.conf xmllint --noout static-tmp/**/*.html -java -jar node_modules/vnu-jar/build/dist/vnu.jar --errors-only --also-check-css --also-check-svg static-tmp/**/!(bimi).@(css|html|svg) +# check CSS first to work around a validator bug +java -jar node_modules/vnu-jar/build/dist/vnu.jar --errors-only --also-check-css --also-check-svg static-tmp/**/*.css static-tmp/**/!(bimi).@(html|svg) find static-tmp -name '*.html' -exec html-minifier --collapse-whitespace \ --process-scripts "application/ld+json" --collapse-boolean-attributes \ --remove-attribute-quotes --remove-comments --remove-empty-attributes \ -- cgit v1.3.1