From e65b8436bfa619b9cbf27175466b44d6f97fe12a Mon Sep 17 00:00:00 2001 From: Wilson Lin Date: Sat, 28 Dec 2019 17:34:36 +1100 Subject: [PATCH] More fluent wording --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 97e419e..1502463 100644 --- a/README.md +++ b/README.md @@ -212,11 +212,11 @@ Any entities in attribute values are decoded, and then the most optimal represen - Double quoted, with any `"` encoded. - Single quoted, with any `'` encoded. -- Unquoted, with `"`/`'` first char (if applicable) and `>` last char (if applicable), and any whitespace, encoded. +- Unquoted, with `"`/`'` first character (if applicable), `>` last character (if applicable), and any whitespace encoded. Some attributes have their whitespace (after decoding) trimmed and collapsed, such as `class`. -If the attribute value is empty after any processing, it is completely removed (i.e. no `=`). +If an attribute value is empty after any processing, it is completely removed (i.e. no `=`). Spaces are removed between attributes if possible. @@ -227,7 +227,7 @@ Spaces are removed between attributes if possible. ### Ignored -Empty elements and bangs are not removed as it is assumed there is a special reason for their declaration. +Bangs and empty elements are not removed as it is assumed there is a special reason for their declaration. ## Parsing