diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2016-07-05 21:35:24 +0200 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2016-07-05 21:35:24 +0200 |
commit | 29260061973e2259b603f57d7892b08c47e25cbf (patch) | |
tree | 498754963818d52b9042f6961cf5980e43ad1724 /Makefile | |
parent | 81938dc2c9ae29429d6d8c0b558623a71096f2da (diff) | |
download | mutti-web-29260061973e2259b603f57d7892b08c47e25cbf.tar.gz mutti-web-29260061973e2259b603f57d7892b08c47e25cbf.tar.bz2 mutti-web-29260061973e2259b603f57d7892b08c47e25cbf.zip |
Revert "minify_html: Remove space after quoted attributes"
This reverts commit 81938dc2c9ae29429d6d8c0b558623a71096f2da.
As validator.w3.org throws the following error:
No space between attributes.
At line 2, column 4862
Box="0 0 55 55"id=checkmark><p
Cause of this revert we're back at a 99% html minification score gtmetrix now.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -16,7 +16,7 @@ fix_doctype=sed 's/ SYSTEM "about:legacy-compat"//' to_html=$(fix_doctype) | xsltproc xsl/convert-xhtml-to-html.xsl - | $(fix_doctype) | sed -e 's/<br><\/br>/<br>/g' -e 's/<\/img>//g' -e 's/<\/link>//g' -e 's/<\/meta>//g' -e 's/<html xmlns="http:\/\/www.w3.org\/1999\/xhtml"/<html/' -#html_minify=./node_modules/.bin/html-minifier --html5 --remove-optional-tags --use-short-doctype --remove-attribute-quotes --remove-tag-whitespace +#html_minify=./node_modules/.bin/html-minifier --html5 --remove-optional-tags --use-short-doctype --remove-attribute-quotes html_minify=sed -f minify_html.sed pages=$(shell xsltproc xsl/main_filenames.xsl main.xml) |