From aad43945adc556bf82ef34e0fbc76a3de956c41a Mon Sep 17 00:00:00 2001 From: Wilson Lin Date: Tue, 6 Apr 2021 19:32:49 +1000 Subject: [PATCH] Mention invalid HTML output --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 7082ccd..c3d7e17 100644 --- a/README.md +++ b/README.md @@ -196,6 +196,8 @@ print MinifyHtml.minify("

Hello, world!

", { :minify_js => false, :mini ## Minification +Note that many of the minification done can result in HTML that will not pass validation, but remain interpreted and rendered correctly by the browser; essentially, the laxness of the browser is taken advantage of for better minification. + ### Whitespace minify-html has advanced context-aware whitespace minification that does things such as: