Closed shinokada closed 1 year ago
I use the code from the README.
html-minifier --collapse-whitespace --remove-comments --remove-optional-tags --remove-redundant-attributes --remove-script-type-attributes --remove-tag-whitespace --use-short-doctype --minify-css true --minify-js true --input-dir path/to/input --output-dir path/to/output
When I use this, I get <!doctypehtml>. Is this ok? Shouldn't it be <!doctype html>?
<!doctypehtml>
<!doctype html>
I think I need to remove --use-short-doctype.
--use-short-doctype
I use the code from the README.
When I use this, I get
<!doctypehtml>
. Is this ok? Shouldn't it be<!doctype html>
?