We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$ npm install html-minifier@1.2.0 $ ./node_modules/.bin/html-minifier --remove-comments --collapse-whitespace app.html -o min.html && cat min.html | grep -oh '...<?xml' ' <?xml
Original file and result attached. Contents before:
<!DOCTYPE html> <html> <head lang="en"> <script > var xml = '<?xml version="1.0" encoding="utf-8"?>' </script> </head> </html>
Contents after:
<!DOCTYPE html><html><head lang="en"><script>var xml = ' <?xml version="1.0" encoding="utf-8"?> '</script></head></html>
v1.1.1 was ok
Archive.zip
The text was updated successfully, but these errors were encountered:
Fixed by #509
<!DOCTYPE html><head lang=en><script>var xml="<?xml version="1.0" encoding="utf-8"?>"</script>
Sorry, something went wrong.
Thank you! Please push a new release to npm
No branches or pull requests
Original file and result attached.
Contents before:
Contents after:
v1.1.1 was ok
Archive.zip
The text was updated successfully, but these errors were encountered: