Mention invalid HTML output

This commit is contained in:
Wilson Lin 2021-04-06 19:32:49 +10:00
parent a2cc9d9ad6
commit aad43945ad
1 changed files with 2 additions and 0 deletions

View File

@ -196,6 +196,8 @@ print MinifyHtml.minify("<p> Hello, world! </p>", { :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: