Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
tdewolff committed Nov 21, 2018
1 parent 67b896b commit 217a420
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ If you cannot upgrade Go, please pin to **minify@v2.3.6** and **parse@v2.3.4**

---

**NOTICE:** this HTML minifier will **delete `<html>` and `<body>` tags** when it is safe to do so. There are people claiming this is bad or dangerous, but that is not true. The specifications state very clearly that they are optional, no website will break unless you use out-dated or broken software. In fact, the shortest **valid** piece of HTML 5 is `<!doctype html><meta charset=utf-8><title>-</title>`. See for yourself at the [W3C Validator](http://validator.w3.org/).

---
*Did you know that the shortest valid piece of HTML5 is `<!doctype html><meta charset=utf-8><title>x</title>`? See for yourself at the [W3C Validator](http://validator.w3.org/)!*

Minify is a minifier package written in [Go][1]. It provides HTML5, CSS3, JS, JSON, SVG and XML minifiers and an interface to implement any other minifier. Minification is the process of removing bytes from a file (such as whitespace) without changing its output and therefore shrinking its size and speeding up transmission over the internet and possibly parsing. The implemented minifiers are designed for high performance.

Expand Down

0 comments on commit 217a420

Please sign in to comment.