Remove VT from newline definition (#32)

The Unicode standard listed VT in its table in §5.8 but that was just a
table of acronyms, and VT was only listed because Microsoft Word used it
as a line separator. VT is not part of its recommendation for characters
to treat as line terminators.
This commit is contained in:
Lily Ballard 2020-12-15 21:52:44 -08:00 committed by GitHub
parent 870339c69e
commit 3c36d683ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -139,7 +139,6 @@ lines](https://www.unicode.org/versions/Unicode13.0.0/ch05.pdf):
| LF | Line Feed | `000A` |
| CRLF | Carriage Return and Line Feed | `000D` + `000A` |
| NEL | Next Line | `0085` |
| VT | Vertical Tab | `000B` |
| FF | Form Feed | `000C` |
| LS | Line Separator | `2028` |
| PS | Paragraph Separator | `2029` |
@ -189,7 +188,7 @@ escline := '\\' ws* (single-line-comment | newline)
linespace := newline | ws | single-line-comment
newline := `000D` | `000A` | `000D` `000A` | `0085` | `000B` | `000C` | `2028` | `2029`
newline := `000D` | `000A` | `000D` `000A` | `0085` | `000C` | `2028` | `2029`
ws := bom | unicode-space | multi-line-comment | slashdash-comment