From 37115fef7ae64324daef28e204b48a870817a392 Mon Sep 17 00:00:00 2001 From: Wilson Lin Date: Tue, 14 Jan 2020 21:10:49 +1100 Subject: [PATCH] Allow more whitespace w.r.t. attributes; do not format bench test pages --- README.md | 11 ----------- bench/fetch.js | 38 ++++++++++++-------------------------- bench/package.json | 1 - src/err.rs | 4 ---- src/unit/attr/mod.rs | 4 +++- src/unit/tag.rs | 7 +------ 6 files changed, 16 insertions(+), 49 deletions(-) diff --git a/README.md b/README.md index c0d30bb..2cc03a8 100644 --- a/README.md +++ b/README.md @@ -351,17 +351,6 @@ Numeric character references that do not reference a valid [Unicode Scalar Value Backticks (`` ` ``) are not valid quote marks and not interpreted as such. However, backticks are valid attribute value quotes in Internet Explorer. -It is an error if there is: - -- whitespace between `=` and an attribute name/value; and/or -- no whitespace before an attribute. - -For example: - -```html -
-``` - Special handling of some attributes require case sensitive names and values. For example, `CLASS` won't be recognised as an attribute to minify, and `type="Text/JavaScript"` on a `