Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove VT from newline definition #32

Merged
merged 1 commit into from
Dec 16, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Remove VT from newline definition
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.
  • Loading branch information
lilyball authored Dec 16, 2020
commit 01ae6766e9a985bbacf28468f5be1d9520a5101d
3 changes: 1 addition & 2 deletions SPEC.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,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` |
Expand Down Expand Up @@ -163,7 +162,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 | ' ' | '\t' | multi-line-comment | slashdash-comment

Expand Down